Re: Clearing up some of my mistakes on serial number

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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

--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux