Do not use SHA-1 unless you have to! Although SHA-1 is not as broken as SHA-0 and MD5, SHA-1 is generally considered weak. Use a hash function from the SHA-2 or SHA-3 family instead.
100% Public Domain
- Steve Reid (Original C Code)
- Bruce Guenter (Small changes to fit into bglibs)
- Volker Diels-Grabsch (Translation to simpler C++ Code)
- Eugene Hopkinson (Safety improvements)