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

Re: base64 and hex question

by matija (Priest)
on Apr 06, 2004 at 15:24 UTC ( #342960=note: print w/replies, xml ) Need Help??


in reply to base64 and hex question

pack/unpack does translations into UUENCODE codes, which are think are closed, but not identical to BASE64. printf/sprintf with a format of "%x" (or "%X") will output hexadecimal codes. I think your best bet would be to transfer both to integers (using the "hex" function for hex-to-integer convesrion) and compare the (bignum) integers.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2020-08-06 07:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (39 votes). Check out past polls.

    Notices?