Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Encrypt/decrypt string without JCE?

 
Chinh Tran Nam
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Rick O'Shay
Ranch Hand
Posts: 531
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://www.bouncycastle.org/
 
Chinh Tran Nam
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks all!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic