This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 41131
    
  45
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!
 
 
subject: Encrypt/decrypt string without JCE?
 
Similar Threads
encrypt and decrypt a file in Java
JCE policy, applet
Refuse document access?
Simple password encryption
Question for deployment: Does JRE Install include keytool, etc?