mmcgrana / gobyexample

Go by Example
https://gobyexample.com
7.29k stars 1.27k forks source link

Update SHA1 example to SHA256 #418

Closed haydentherapper closed 2 years ago

haydentherapper commented 2 years ago

This encourages the use of stronger cryptographic hashes. While SHA1 is still used in some applications, it's considered insecure and no longer supported by web browsers for TLS certificates. Tools such as securego/gosec will show errors when SHA1/MD5 hashes are used.