[botan-devel] Encrypt and decrypt data with ECDSA keys

DimanNe dimanne at ya.ru
Mon Sep 2 09:38:09 EDT 2013


Hello!

How can I encrypt and decrypt data with ECDSA keys?

I tried to encrypt and decrypt messages with RSA keys and this works perfectly, but when I tried to use ECDSA keys (how it described in http://botan.randombit.net/pubkey.html#encryption):

      Decryptor = new Botan::PK_Decryptor_EME(*KeyPair, "EME1(SHA-1)");

i got exception:

terminate called after throwing an instance of 'Botan::Lookup_Error'
  what():  PK_Decryptor_EME: No working engine for ECDSA



More information about the botan-devel mailing list