sodium_bin2hex
sodium_bin2hex
Encode to hexadecimal
string **sodium_bin2hex** string $string
Converts a raw binary string into a hex-encoded string. Unlike the standard hex-encoding function,
is constant-time (a property that is important for any code that
touches cryptographic inputs, such as plaintexts or keys).
sodium_bin2hex
stringRaw binary string.
Hex encoded string.