aspose file tools
The moose likes Security and the fly likes Elliptic Curve Encryption in Java 7, Is it implemented? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » Security
Reply Bookmark "Elliptic Curve Encryption in Java 7, Is it implemented?" Watch "Elliptic Curve Encryption in Java 7, Is it implemented?" New topic
Author

Elliptic Curve Encryption in Java 7, Is it implemented?

Yoram Halberstam
Greenhorn

Joined: Aug 24, 2011
Posts: 2
According to this documentation JAVA 7 supports Elliptic Curve encryption.

Standard Algorithm Name Documentation

I've tried



but I get



I can't see it listed when I run that code either:



I'm using the Unlimited Strength downloaded from Sun Website. I've generated a key pair using

keytool -genkeypair -keyalg EC -keysize 160 -keystore test-ie.jks -storepass password -alias ec160 -dname "CN=Yoram Halberstam, OU=Test EC 160, O=MPI, L=London, ST=London, C=GB"
greg stark
Ranch Hand

Joined: Aug 10, 2006
Posts: 220
Ah, but "support" means something different here. Java will support new algorithms in the JCE by provider standard names that provider implementers may use to provide actual implementations. The standard names are only half the battle, you must then check and see if there are any JCE providers that implement that algorithm. As you can see here, none of the Oracle providers supports this algorithm.

I believe the bouncycastle provider supports ECIES.


Nice to meet you.
Yoram Halberstam
Greenhorn

Joined: Aug 24, 2011
Posts: 2
greg stark wrote:Ah, but "support" means something different here. Java will support new algorithms in the JCE by provider standard names that provider implementers may use to provide actual implementations. The standard names are only half the battle, you must then check and see if there are any JCE providers that implement that algorithm. As you can see here, none of the Oracle providers supports this algorithm.

I believe the bouncycastle provider supports ECIES.


Ah ok thanks - oh well at least you can generate the key with keytool!
 
 
subject: Elliptic Curve Encryption in Java 7, Is it implemented?
 
Threads others viewed
JCE can't authenticate BC
asymmetric ecryption / decryption
java JCE version compatibility
Cleared Part I today with 79%
Algorithm X509 not available
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture