jQuery in Action, 2nd edition*
The moose likes Security and the fly likes [JAVA] cryptography security with elliptic curve Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "[JAVA] cryptography security with elliptic curve" Watch "[JAVA] cryptography security with elliptic curve" New topic

[JAVA] cryptography security with elliptic curve

Antonino Spitale

Joined: Aug 04, 2012
Posts: 2
Im nebbies on elliptic curve cryptography and i need help to understand if i did good work : i use Java and bouncycastle and i must to generate public and private key from Ecc curve . I take 3 different kind of code from web , but im not sure which is the best . I read that the curve must generate in RANDOM mode for security , but i dont understand how

I've some question :
1)which of this code is the most secure and why?
2)what is the meaning of this :" 192 bit ecc is like 2048 bit rsa"? which is the size of private and public key in Ecc prime192v1? and in another? why?
3)how generate random curve ?how can generate random private and public key?
can anyone help me?
thanks so much

Lori Flynn

Joined: Nov 12, 2013
Posts: 1
Responding to one of your questions in part (2), where you asked, "what is the meaning of this :" 192 bit ecc is like 2048 bit rsa"?"
According to the following sources, 224-bit ECC (not 192-bit ECC) is like 2048-bit RSA:

Bruce Schneier recommends against using ECC systems: http://www.theguardian.com/world/2013/sep/05/nsa-how-to-remain-secure-surveillance
I agree. Here's the link: http://aspose.com/file-tools
subject: [JAVA] cryptography security with elliptic curve
Similar Threads
Storing Keys in KeyStore
DHPublicKey not for this KeyAgreement!
Elliptic Curve Cryptography
Playing with KeyPair
DSA Signature sign/verify using BC/Standard JCE