Hey, why not simply use the mcrypt functions available in PHP?
Derick On Mon, 4 Mar 2002, Keyser Soze wrote: > Hi all, > > I have developed a new module that may be of interest of you. I'm putting it > under GNU license. > The module consist of two functions: > bool cfg_set(string file,assoc array vars): it saves configurations in vars > crypted into file > array cfg_set(string file): returns the associative array uncrypted > > This module uses a library called libmycrypt.so which must be developed by > the user and must have two functions: > char *my_crypt(char *string) > char *my_decrypt(char *string) > > This module was intended two protect the configurations of database like: > user, pass, ip, dbname,.... so that even if someones get his hands on the > php scripts, he can't get those variables. > > I just need to comment out the code, but it will be ready tomorrow for sure. > To where should I send the code, so if you are interested, put in php > distribution??? > > Regards, > Fabricio Olivetti de França > aka Keyser Soze > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php