in reply to Re^4: Decoding Base32
in thread Decoding Base32
Assuming udecode_base32 should be decode_base32, why are you passing a hex string to it?
Update: Ah, you want to convert the SHA to hex, but that's now what you're doing. Fix:
print "SHA1: " . unpack('H*', decode_base32($urn_decode)) . "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Decoding Base32
by Anonymous Monk on Apr 19, 2010 at 16:49 UTC | |
by ikegami (Patriarch) on Apr 19, 2010 at 17:10 UTC |