Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: md5_bas64 encryption?

by Hero Zzyzzx (Curate)
on May 23, 2005 at 17:59 UTC ( #459647=note: print w/replies, xml ) Need Help??

in reply to md5_bas64 encryption?

Those "special characters" are the nature of Base 64 encoding, use md5_hex instead.

From the docs:

           Same as md5(), but will return the digest in hexadecimal form. The length of the returned string
           will be 32 and it will only contain characters from this set: '0'..'9' and 'a'..'f'.

But chances are how you're comparing the digested strings is wrong because a forward slash shouldn't break it. . . Let me guess- you're doing the comparison with DBI, but you're not using placeholders?

-Any sufficiently advanced technology is
indistinguishable from doubletalk.

My Biz

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://459647]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2016-10-24 05:14 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (303 votes). Check out past polls.