• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Encryption and Decryption

 
rani bedi
Ranch Hand
Posts: 358
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone suggest how can we do encryption and decryption in java? Do we some specific API for that?
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, there is... the JCE- Java Cryptograpy Extension...

HTH,
-Nate
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey, Nate,
I've been meaning to ask. What does HTH stand for??
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I asked him that some time back...

It means 'hope that helps'

 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ahhhh, thanks.
 
Fredrik Safstrom
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic