in reply to Re^5: Decoding Base32
in thread Decoding Base32

You are correct, I had meant decode_base32. And, yes, I'm trying to get back to hex as I need to be able to verify the hashes of downloads.

I knew this must be fairly trivial as I appear to be the only one needing help. I should have caught my encapsulation was incorrect. Apparently decode_base32 still expects all lowercase characters; at least my version does.

All that said, I'm in good working order now. I really appreciate your time and help ikegami.

Replies are listed 'Best First'.
Re^7: Decoding Base32
by ikegami (Patriarch) on Apr 19, 2010 at 17:10 UTC
    Acceptance of uc was added to 0.03. To have older versions accept uc:
    print "SHA1: " . unpack('H*', decode_base32(lc($urn_decode))) . "\n";