Try setting the database field type to 'BLOB' Danny.
----- Original Message ----- From: "Randy Johnson" <[EMAIL PROTECTED]> To: "Danny Shepherd" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, August 01, 2002 4:51 PM Subject: Re: [PHP] mcrypt > I found that the some of the high ascii characters would not store right in > the database or something cause when i went to compare them, the comparison > would fail. > > > Randy > > ----- Original Message ----- > From: "Danny Shepherd" <[EMAIL PROTECTED]> > To: "Randy Johnson" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Thursday, August 01, 2002 11:31 AM > Subject: Re: [PHP] mcrypt > > > > Just base64 encode the mcrypt output if the non printable chars bother > you, > > though I don't really see what the problem is, unless you're pushing the > > output to a web page. > > > > Danny. > > > > > > ----- Original Message ----- > > From: "Randy Johnson" <[EMAIL PROTECTED]> > > Cc: <[EMAIL PROTECTED]> > > Sent: Thursday, August 01, 2002 4:24 PM > > Subject: [PHP] mcrypt > > > > > > > I am looking into different password encryption solutions. > > > > > > i started using crypt() > > > > > > then changed to mcrypt() > > > > > > which was not any good cause of the high ascii characters > > > > > > then i read about converting the high ascii characters to hex . > > > > > > Is this the ideal way to encrypt passwords or is their something better. > > > > > > Thanks > > > > > > Randy > > > > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php