Returns a random lowercase hex string of byteLength random bytes.
byteLength
How many random bytes to draw; defaults to 8 (16 hex characters).
The hex-encoded random value.
1.0.3
import { randomHex } from 'edgeport/util';const nonce = randomHex(); // 16 hex chars from 8 random bytes Copy
import { randomHex } from 'edgeport/util';const nonce = randomHex(); // 16 hex chars from 8 random bytes
Returns a random lowercase hex string of
byteLengthrandom bytes.