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