aspose file tools
The moose likes Java in General and the fly likes Encrypt/decrypt string without JCE? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply 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: 35224
    
    7
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.


Android appsImageJ pluginsJava web charts
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Encrypt/decrypt string without JCE?
 
Similar Threads
Question for deployment: Does JRE Install include keytool, etc?
Simple password encryption
JCE policy, applet
Refuse document access?
encrypt and decrypt a file in Java