Jump to content

hashing data in mysql table


jjk2

Recommended Posts

what is the safest way to encrypt/hash the datas on the mysql table

 

why dont everyone decide to encrypt the information on tables, such as ip, username, password, and so on?

 

if a hacker were to hack ing steal the table information, would he be able to read the contents of the mysql table data ? (all username, passwords are encrypted format so all he sees is 234jhl2k3as8979234)

 

thank you!

Link to comment
Share on other sites

If one is able to get into your database you have more serious issues to consider then whether or not the data was encrypted or not as it's most likely your entire system was compromised. Focus on preventing attacks and exploits and the prospect of encrypting and hashing *all* the data becomes less and less desirable.

 

You're looking at the situation in a, "well they got in, how can I limit the damage done?" sense, when you should be saying "How can I stop them from getting in?"

Link to comment
Share on other sites

The problem with hashing the username and ip etc, is that hashing is a one-way road, and cannot be unhashed. So hashed information basically becomes inaccessible. This is desirable with passwords, as a properly secure site will never display the password anywhere. However, there are many circumstances where you will need to be able to see the username and IP and email addresses etc, so hashing them would be a bad idea.

Link to comment
Share on other sites

prismatic, i know what you mean. but my question was specific towards hashed data, as to whether a determined individual could decode it and extract passwords, and other sensitive informations in the db.

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.