I need to convert a string with letters and numbers into its binary form to obscure it from view. I would like to be able to reverse the process too if possible. All I can find at the moment are lengthy classes and functions, can someone tell me the simplest way to do this?
Basically I have to merge two sets of data, one which I sent in an email and one which is pulled from the DB. I have already gone to great lengths to protect this data by firstly not keeping it all in one place hence the reunification and I have also jumbled it all up with algorithms which make it extremely difficult to decipher.
I just want to turn the email data into binary so that there isn’t anything visible to the human eye, this is just so that it looks cooler.A hacker would have to invade the server and read my scripts and intercept the exact email, then steal a login and follow a security protocol in order to merge the data.
Its one of these situations where you can’t really use a hash key because I need to store actual data and not a hash of it.
I would like a string of 0s and 1s matrix style.
[QUOTE=Salathe;5089231]Why not just encrypt it using one of the standard encryption methods? Trying to roll your own encryption sounds like a recipe for disaster.
Ok in your opininon which method of encryption should I use, as I mentioned previously, I can’t use hash methods like MD5 or SHA1 because I need to store the actual data(well bits of it) but maybe I’m misunderstanding it, I do lack experience in these matters.