Author
Encryption and Decryption
rani bedi
Ranch Hand
Joined: Feb 06, 2001
Posts: 358
Can anyone suggest how can we do encryption and decryption in java ? Do we some specific API for that?
Cheers,<br />Rani<br />SCJP, SCWCD, SCBCD
Nathan Pruett
Bartender
Joined: Oct 18, 2000
Posts: 4121
Yes, there is... the JCE - Java Cryptograpy Extension... HTH, -Nate
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Cindy Glass
"The Hood"
Sheriff
Joined: Sep 29, 2000
Posts: 8521
Hey, Nate, I've been meaning to ask. What does HTH stand for??
"JavaRanch, where the deer and the Certified play" - David O'Meara
Mike Curwen
Ranch Hand
Joined: Feb 20, 2001
Posts: 3695
I asked him that some time back... It means 'hope that helps'
Cindy Glass
"The Hood"
Sheriff
Joined: Sep 29, 2000
Posts: 8521
Ahhhh, thanks.
Fredrik Safstrom
Greenhorn
Joined: May 15, 2001
Posts: 20
posted Jun 01, 2001 13:59:00
0
Parmeet, You can use a simple class I posted earlier: http://www.javaranch.com/ubb/Forum45/HTML/000243.html This doesn't work on binary data, but it is excelent for providing easy encryption/dercyption of messages. HTH /Bamse
subject: Encryption and Decryption