• 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

AES encryption with JCE

 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A question to anyone familiar with the topic,

I have a class that uses the JCE to encrypt and decrypt a file. This works OK.
http://java.sun.com/developer/technicalArticles/Security/AES/AES_v1.html

And today I stumbled upon The Legion Of Bouncy Castle:
http://www.bouncycastle.org/java.html

Question is, how good are their implementation as compared to JCE ? page states that they are:

- A lightweight cryptography API.
- A provider for the Java Cryptography Extension and the Java Cryptography Architecture.
- A clean room implementation of the JCE 1.2.1.

Has anyone tried using these ? reviews / comments / opinions ?
[ August 24, 2008: Message edited by: Zenikko Sugiarto ]
 
Rancher
Posts: 4803
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
BouncyCastle is a good implementation of the JCE. Its primarily a response to the stupid ITAR rules in the US that make it really difficult to export strong crypto. The rules have been made less draconian in recent years.

In the old rules, the US Department of Commerce assumed that only programmers in the US were smart and talented enough to write crypto code. So some companies were created outside the US to allow non-US programmers to make money selling crypto code.

I have no idea if it is, or is not, lightweight
 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Beginning Cryptography with Java" by David Hook has good info on the algorithm.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic