File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Java in General
Bookmark "Encrypt/decrypt string without JCE?" Watch "Encrypt/decrypt string without JCE?" New topic

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

Joined: Mar 22, 2005
Posts: 42965
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.
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
Chinh Tran Nam
Ranch Hand

Joined: Nov 08, 2004
Posts: 35
Thanks all!
I agree. Here's the link:
subject: Encrypt/decrypt string without JCE?
It's not a secret anymore!