Problems? Is your data what you think it is? | |
PerlMonks |
Re: Safe for SQLby hiseldl (Priest) |
on Dec 10, 2002 at 17:08 UTC ( [id://218838]=note: print w/replies, xml ) | Need Help?? |
You could use the MD5->hexdigest() as well:
On my machine, this produces a 32 byte string which appears to be what you're looking for. BTW, this method is used in CGI::Session to create session ID's so it should be relatively safe to use in a SQL insert. --
In Section
Seekers of Perl Wisdom
|
|