Hard Light Productions Forums

Off-Topic Discussion => General Discussion => Topic started by: kasperl on March 02, 2003, 01:16:45 pm

Title: php encryption
Post by: kasperl on March 02, 2003, 01:16:45 pm
We need some help on the minimod database Analazon and i are working on.

we're looking for a PHP only encryption system for a user database, things like username, password and e-mail. we need this to allow people to edit their posts, Analazon can take care of the user interface thing, but we can't encrypt, so that's why we need your help.
Title: php encryption
Post by: kode on March 02, 2003, 01:24:28 pm
the mcrypt function, perhaps?
http://www.php.net/manual/en/ref.mcrypt.php

there are a lot of other functions, just browse around the documentation at php.net a little...
Title: php encryption
Post by: Anaz on March 02, 2003, 01:42:34 pm
hmm...that might be what I need...
Title: php encryption
Post by: Anaz on March 02, 2003, 02:17:05 pm
anything that doesn't require adding extra stuff to the server? Like a base install of PHP?
Title: php encryption
Post by: kode on March 02, 2003, 02:24:31 pm
that'd be a little trickier, I think. there's some great help to get over there at php.net, I suggest looking around and/or asking...
Title: php encryption
Post by: WMCoolmon on March 02, 2003, 03:38:50 pm
If you just want to use the information for validation, you could use the crypt() function.
Title: php encryption
Post by: Anaz on March 02, 2003, 06:53:05 pm
aha! crypt might work...but more on that later...