Contents
- The code is here.
- The docs are here.
Cryptosuite2 is a (more or less) drop in replacement for https://github.com/Cathedrow/Cryptosuite. It currently provides SHA256 and HMAC-SHA256.
Download the latest ZIP release from the release page and install it using the Arduino IDE.
- Download the library.
- Copy
cryptosuite2/sha
to~/sketchbook/libraries
(cp -rv cryptosuite2/sha ~/sketchbook/libraries
) or~/Arduino/libraries
(cp -rv cryptosuite2/sha ~/Arduino/libraries
)
Take a look at the docs.
- Once
Sha256.result()
orSha256.resultHmac()
(orsha256_hasher_gethash()
,sha256_hasher_gethmac()
,sha256_hasher_pad()
) have been invokedSha256.init()
(orsha256_hasher_init()
) must be invoked! - The same thing applies for
Sha1
andsha1_*
.
You can ask for further features, but right now it seems like all the required stuff is running.
Contributions are welcome!
Just add yourself in the contributors.yml
file and send
a pull request.
All contributions must be licensed under the GNU GPLv3. This is just because keeping track of various licenses is a pain in the ass.
I can give you some assistance in general, but do not expect too much. I have a lot to do. Also I will fix bugs, but it might take a while.