/cryptosuite2

Cryptographic suite for Arduino (SHA, HMAC-SHA)

Primary LanguageCGNU General Public License v3.0GPL-3.0

Cryptosuite2

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() or Sha256.resultHmac() (or sha256_hasher_gethash(), sha256_hasher_gethmac(), sha256_hasher_pad()) have been invoked Sha256.init() (or sha256_hasher_init()) must be invoked!
  • The same thing applies for Sha1 and sha1_*.

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.