- Source code for SHA-1 is in sha-src
- All other folders are needed to build on the MBED platform for ARM core devices
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.
“` mkdir build cd build cmake .. make test-sha1 “`
Then flash the .bin file in `build/sha-src` to your MBED-enabled device using whichever method your device datasheet recommends.
100% Public Domain, except the mbed-src, MODSERIAL, and cmake directories. See individual files for licensing info there.
- 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)
- Conor Hayes, Mingzhong Guo, Yulong Ding, Jamie Smith (Porting to run on ARM MCU’s using MBED OS)