-->
Page 1 of 3

Crypto library?

PostPosted: Wed Jun 22, 2016 2:21 pm
by lotus49
I am looking for a crypto library, specifically one that supports HMAC SHA-1.

I have seen a few Arduino implementations but I have struggled to import them into the Arduino IDE. I have done this with other libraries but I wasn't able to with the two crypto libraries I found (https://github.com/Cathedrow/Cryptosuite and http://spaniakos.github.io/Cryptosuite).

Is there anything available?

Re: Crypto library?

PostPosted: Wed Jun 22, 2016 11:43 pm
by Pablo2048
Look into Websockets library ( https://github.com/Links2004/arduinoWebSockets ). There is libsha1 folder...

Re: Crypto library?

PostPosted: Thu Jun 23, 2016 5:36 pm
by lotus49
Thanks for the suggestion but that seems only to have SHA-1 not HMAC-SHA-1.

Re: Crypto library?

PostPosted: Thu Jun 23, 2016 5:57 pm
by bbx10node
I worked on the Cryptosuite library a while ago for a project that fizzled out. I cleaned the code up so it compiles and runs without errors for Uno and ESP8266. There are 74 forks of the original library so it possible someone has already done this but good luck finding it.

https://github.com/bbx10/Cryptosuite