[PHP] Data Encryption

2005-03-02 Thread Erbacher Karl
Hi, I'm not sure if this is even a PHP question, but I'm hoping someone can help me. I need to encipher data to be stored in a database and then I need to be able to decipher it to use it. I was thinking of using DES and I obtained a pair of keys, but I'm not sure where to go from there. I've s

[PHP] Hash Issues

2005-02-25 Thread Erbacher Karl
Hello, I'm trying to hash passwords before saving them to a mySQL database but I am having a problem. I created three seperate sample users with three different passwords (password1, password2, password3). When I go back to look at the table info in the database, it has saved the exact same ha

Re: [PHP] hash issues

2005-02-25 Thread Erbacher Karl
Thanks for your input, but I've played around with it and now it's uglier than ever. I'm very new to PHP, so I'm not sure what I'm missing here. I've done a few things to try to pinpoint the problem, but now I'm even more confused. Can you please look over what I've done and let me know if you

[PHP] hash issues

2005-02-23 Thread Erbacher Karl
I am creating a database where I need people to log in using a unique username and password. I would like to hash the passwords using the one-way function mhash(). However, when I try to do this, I have some issues that I cannot figure out. Here is what I have (I'll include every mention of th