Generate random bytes using OpenSSL

To generate an 8 byte hex string (e.g. for an App identifier)

openssl rand -hex 8

To generate a 16 byte hex string (e.g. for an App key)

openssl rand -hex 16
Published 2016-12-06