• Create a cryptographically secure nonce that is at least 128 bits long. See nonce spec at https://w3c.github.io/webappsec-csp/#security-nonces

    Parameters

    • encoding: "base64url" | "hex"
    • OptionalnumberOfBytes: number

    Returns string

    Cryptographically secure, pseudo-randomly generated value encoded as a string