in reply to Character Length Requirement & String Conversion

I am looking for something similar to Digest::MD5's md5_hex function.

What is wrong with using md5_hex()? Ignore this! I was thinking of the 16-byte binary representation instead of the 32-byte hex.

When I was looking for something similar, I eventually settled upon the 64-bit FNV1a implementation.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?

  • Comment on Re: Character Length Requirement & String Conversion

Replies are listed 'Best First'.
Re^2: Character Length Requirement & String Conversion
by bpthatsme (Novice) on Mar 13, 2012 at 01:08 UTC

    It is returning 32 characters. The restriction in 19. Perhaps I am missing something with md5_hex()?

    Thanks for your reply!

    -BP-

      Sorry, my brain was in neutral. I've updated my post with: a correction; and a suggestion.


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

      The start of some sanity?