HELP ME! http://www.patreon.com/calebcurry Subscribe to my newsletter: http://eepurl.com/-8qtH Donate!: http://bit.ly/DonateCTVM2.
source
HELP ME! http://www.patreon.com/calebcurry Subscribe to my newsletter: http://eepurl.com/-8qtH Donate!: http://bit.ly/DonateCTVM2.
source
5 responses to “MySQL Tutorial 53 – How to Encrypt Data with 2-Way Encryption”
Watch series with autoplay: MySQL Tutorial 1 – What is MySQL @CalebCurry
Donations are greatly needed and appreciated! Click to donate: http://bit.ly/DonateCTVM2
+science2491
Sorry for long wait,but for those who still wonder :
Salt is a string which is being converted along with the encrypted data,while key is the way which you used to convert the string.
A salt is used to ~hash~ (not encrypt) not just the data(for example – a password) but the salt with it,so if a hacker tries to crack the hash and see the password,he will need to find and seperate the salt as well.
Adding salt is as simple as this :
hash = salt + data + salt;
Even the "secret" salt is known to the attacker,the salt still fulfills its purpose.
A key is the 'way'(kind of way) which the data passed in order to reach the encrypted text,and is used later when you want to decrypt the data and see what it is.
Well,same like a key in a door,you open a door with a particular key and can open it only with the same particular key.
can you elaborate more here? if this is not salt, what would salt be in this case?
Its not a salt, it's a key you're passing as the second argument.
lol, you have a short memory.