• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Elliptic Curve Encryption in Java 7, Is it implemented?

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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"

 
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Yoram Halberstam
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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!
 
Run away! Run away! Here, take this tiny ad with you:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic