LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Thread Tools
Old 08-28-2007, 02:22 PM   #1
me4linux
Member
 
Registered: Aug 2006
Distribution: Fedora 7
Posts: 167
Thanked: 0
how to encrypt user data and store the cipher in database


[Log in to get rid of this advertisement]
Hi everyone

i want to encrypt the data entered by the user and store the cipher in a database.. i know that this can be done using jce..
But i dont know how/where to start..

Can any one please explain me this basic example so that i can go further..

I would be happy if u can give me the links for ebooks/tutorials & codesamples for jce..i have searched in sun website but i didnt get the required page..

how to compile jce program in netbeans..?

THANKS IN ADVANCE
me4linux is offline     Reply With Quote
Old 08-28-2007, 03:56 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Warszawa, Poland
Distribution: Debian
Posts: 9,105
Thanked: 23
You can store the encrypted data in a normal varchar or blob field. The key(s) is a different story. It should be in a secure place, definitely not in the same database.
Mara is offline     Reply With Quote
Old 08-28-2007, 10:55 PM   #3
me4linux
Member
 
Registered: Aug 2006
Distribution: Fedora 7
Posts: 167
Thanked: 0

Original Poster
Quote:
Originally Posted by Mara View Post
You can store the encrypted data in a normal varchar or blob field. The key(s) is a different story. It should be in a secure place, definitely not in the same database.
can u tell me how to encrypt data in java...?

please give me links for ebooks/tutorials & code samples for java cryptography
me4linux is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
store fingerprint template into database applee Programming 1 02-05-2007 02:58 PM
Cipher all data xanax Linux - Security 9 12-10-2006 03:35 AM
store emails on database (postfix) eduac Linux - General 1 07-30-2006 03:31 AM
Store retreived mail in database deweirdt Linux - Software 1 03-03-2005 03:41 AM
Store IMAP emails in mySQL database dlublink Linux - Networking 1 01-07-2005 05:00 PM


All times are GMT -5. The time now is 03:15 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration