Go

Go

Made by DeepSource

Audit required: SHA1 cipher algorithm is cryptographically broken GO-S1025

Security
Major
a02 a06 cwe-327 sans top 25 owasp top 10

SHA1 is cryptographically broken and should not be used for secure applications. It is recommended to use an alternate algorithm instead.

Bad practice

h := sha1.New()
_, _ = io.Copy(h, f)

References