Thanks for the info.  I've been going through the ecctest.zip example at 
the bottom of http://www.cryptopp.com/wiki/Elliptic_Curve_Cryptography

I need to do something pretty similar for sending packets containing 
encrypted values in a simulation.  But I couldn't find anywhere where the 
key size was specified.  It needs to be reasonably secure for the 
simulation to be accurate, of course, and I was trying to find out of there 
was a way to have fixed sizes for the ciphertexts.

Andrew

On Friday, December 21, 2012 7:03:00 PM UTC-6, Jeffrey Walton wrote:
>
>
>
> 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<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.

Reply via email to