Asymmetric crypto on the Arduino?

I'm trying to implement a digital envelope system, where you use (fast) symmetric crypto to encrypt a message with a randomly generated key, then use (slow) asymmetric crypto to encrypt just that key. Then you can send both safely, knowing only the intended recipient can decrypt the key and therefore the message.

I found plenty of libraries for symmetric crypto, but not many for asymmetric crypto. The one I found, Crypto by Rhys Weatherley, supports only very specific use cases, like Diffie-Hellman and digital signatures.

Is there an Arduino library I can use to just encrypt or decrypt data with an asymmetric key?

Touch here for the full post on the Arduino Apprentices tumblr

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s