No, hexadecimal means hexadecimal.

BASE64 is a format for represent code points from 0 to 255 using only ASCII 
characters. It is not a natural way to display data for a human reader. 
Displayable hexadecimal if a means to communicate with a human reader, just as 
displayable binary is. When PoOps uses the term hexadecimal values, it is 
refering to the numeric values represented by the digits, not the encoding used 
to print those digits. Wehn it say )A, that means 0A, not F0C1.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Assembler List [[email protected]] on behalf 
of Charles Mills [[email protected]]
Sent: Wednesday, June 7, 2023 4:03 PM
To: [email protected]
Subject: Re: Shower thought

"Hexadecimal" *means* character. Hexadecimal is a means of representing
binary values with the *characters* 0-9 and A-F. The data is not
hexadecimal; hexadecimal is convenient *character-based* way of representing
it.

And no, except for very short inputs, base64 is more compact than hex. Hex
is always 2:1 relative to the input data; base64 is 4:3. 100 bytes in hex
requires 200 bytes; 100 bytes in base64 requires 134.

Charles


-----Original Message-----
From: IBM Mainframe Assembler List [mailto:[email protected]]
On Behalf Of Seymour J Metz
Sent: Wednesday, June 7, 2023 11:27 AM
To: [email protected]
Subject: Re: Shower thought

No, a hexadecimal comparison of 11 to AA gives AA higher; 11 and AA are not
the same as C'11' and C'AA'

BASE64 is almost certainly guarantied to be less compact.

Reply via email to