Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2013
    Posts
    1

    Thumbs up Encrypt and Decrypt a column in Mysql

    Hi all,

    I'm doing JDBC, I'm newbie to Databases. I want to encrypt and decrypt password column in Mysql database. I need your guidance.

    Thanks,
    Ranjeet.

  2. #2
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    12,532
    yo don't decrypt passwords
    its a one way trip
    encrypt the users password,using what ever mode you choose to use (could use a front end function or an internal MySQL encryption function
    when you request a password repeat the encryption process and compare the encrypted values. providing you use the same method to encrypt then there is no problems
    storing passwords in a db in clear is a bad move
    I'd rather be riding on the Tiger 800 or the Norton

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •