On Dec 20, 5:58 pm, "Andrew B." <[email protected]> wrote: > What is the default key size for ECIES keys? I'm following the ecctest > example from the wiki, which doesn't specify a key size anywhere, and I > can't find any information about a default value or a function for finding > the size of a key. ECIES is part of a family of encryption systems based on Diffie- Hellman called DHAES. Abdalla, Bellare, and Rogaway's paper: http://www.cs.ucdavis.edu/research/tech-reports/1998/CSE-98-13.pdf.
The ECIES structure is declared in eccrypto.h (http://www.cryptopp.com/ docs/ref/struct_e_c_i_e_s.html). Comments in the header indicate the best security and efficiency is obtained with IncompatibleCofactorMultiplication and DHAES_MODE = true. To see how the library uses ECIES, take a look at validat2.cpp, ValidateECP() and ValidateEC2N(): ECIES<ECP>::Decryptor cpriv(GlobalRNG(), ASN1::secp192r1()); ECIES<ECP>::Encryptor cpub(cpriv); .... and ECIES<EC2N>::Decryptor cpriv(GlobalRNG(), ASN1::sect193r1()); ECIES<EC2N>::Encryptor cpub(cpriv); ... I'll try to get an example up on the wiki soon. Its been on my TODO list for too long. Jeff -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [email protected]. More information about Crypto++ and this group is available at http://www.cryptopp.com.
