Cryptographic suite for Arduino (SHA, HMAC-SHA)
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc
docs
sha
tools
.gitignore
LICENSE
Makefile
README.rst
contributors.yml
library.json

README.rst

Cryptosuite2

Links

What Is Cryptosuite2?

Cryptosuite2 is a (more or less) drop in replacement for https://github.com/Cathedrow/Cryptosuite. It currently provides SHA256 and HMAC-SHA256.

Install

  • Download the library.
  • Copy cryptosuite2/sha to ~/sketchbook/libraries (cp -rv cryptosuite2/sha ~/sketchbook/libraries)

Usage

Take a look at the docs.

Gotchas

  • 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!

Todos

  • Add examples.
  • Add sha1 and other algorithms.

Contributing

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.

Support

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.

If you want to speed up my support/my fixes buy me a beer. Also you are welcome to support me if you think it is a good idea to do so.

(An I kinda wanted to test these paypal links :-P)