encrypting then decrypting help
Posted: Fri Aug 11, 2006 1:43 pm
I need a user to be able to put in a number, say 1234, then store it in the database like ht30ng30n or some jazz.
then i can pull it from the database and instead of showing the garbage i show 1234. crypt() appears to be a hash which means i can't retrieve the value,right? if so then what function can I use to recieve my desire result? If I'm usnig the wrong terminology please feel free to correct me.
then i can pull it from the database and instead of showing the garbage i show 1234. crypt() appears to be a hash which means i can't retrieve the value,right? if so then what function can I use to recieve my desire result? If I'm usnig the wrong terminology please feel free to correct me.