Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

encryption / decryption

 
Sat Kum
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to encrypt a password field before sending to database and decrypt the same after fetching.
is there any provision to do this in java ..?if so how do i go about it..?
any answers...plz reply ASAP.
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this link:
http://java.sun.com/j2se/1.3/docs/api/java/security/MessageDigest.html
Rene
 
Rob Ross
Bartender
Posts: 2205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"MSK",
Hi. Welcome to JavaRanch!
Please change your name to comply with the naming policy to which you agreed when you registered here..

For your publicly displayed name,
use a first name, a space, and a last name.

You can change your name:
here

You can also find the naming policy:
here
Thank You!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic