http://qs321.pair.com?node_id=342960


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.