wood burning stoves 2.0*
The moose likes Java in General and the fly likes Encrypt/decrypt string without JCE? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Encrypt/decrypt string without JCE?" Watch "Encrypt/decrypt string without JCE?" New topic
Author

Encrypt/decrypt string without JCE?

Chinh Tran Nam
Ranch Hand

Joined: Nov 08, 2004
Posts: 35
Hello All,

I'm developing an applet for IE with Microsoft VM plugin, I want to encrypt data inputted before writing it to a text file. JCE cannot be used here, so I would like to have a solution/source code which implements cryptography algorithsm (such as DES).

Could you please help?
Thanks a lot.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42277
    
  64
You can find the source code for the various AES finalists right here. Rijndael is the one that ultimately was chosen, so if you want AES, that's the one. I'm sure you can find sources for DES as well if you google for it.


Ping & DNS - my free Android networking tools app
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
I learned a new word last week. Homemade encryption schemes are known as "encraption" because so few people are smart enough to write a good one and the rest of us are only foolin ourselves. Use something with a proven track record.


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Rick O'Shay
Ranch Hand

Joined: Sep 19, 2004
Posts: 531
http://www.bouncycastle.org/
Chinh Tran Nam
Ranch Hand

Joined: Nov 08, 2004
Posts: 35
Thanks all!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Encrypt/decrypt string without JCE?