[openssl-users] Clearing up some of my mistakes on serial number
Robert Moskowitz
rgm at htt-consult.com
Sun Aug 20 14:30:30 UTC 2017
On 08/20/2017 09:50 AM, Salz, Rich via openssl-users wrote:
> If you generate 19 bytes or RAND output, it will never exceed 20 bytes encoded.
>
> OpenSSL will be generating 159 bits of RAND output, so that it will never exceed 20 bytes encoded. The command-line RAND program is bytes, the C API is bits.
>
>
So Viktor reminded me about bits, bytes and octets.
Too much on the brain. No real excuse.
Back to the drawing broad.
A bit.
8 bits is a byte. 8 bits is a byte. 8 bits is a byte. 8 bits is a byte.
Two hex positions is a byte. One hex position is a nibble.
:)
I'll get it straight yet.
Bob
More information about the openssl-users
mailing list