This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JDBC and the fly likes creating an encrypted column Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "creating an encrypted column" Watch "creating an encrypted column" New topic
Author

creating an encrypted column

indu yeturu
Ranch Hand

Joined: Aug 27, 2008
Posts: 123
Hi all...

am creating a LOGIN table in oracle with (username,password)columns as single primary key.
In this, we need to encrypt password column. How to do this ?


thanks,
indu
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Encrypt password at application level. Use some Java ciphering/deciphering API for this. Don't know much, wait for other ranchers valuable inputs.


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
indu yeturu
Ranch Hand

Joined: Aug 27, 2008
Posts: 123
here in database I need to enter some sets of usernames and passwords. And in table data view, password column should not show the content.

Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

how to encrypt database password column
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: creating an encrypted column