API reference for slhdsa/main
    Preparing search index...

    Interface SlhDsaCreateOptions

    Options for the factory functions of a signer and a verifier, such as createSlhDsaShake128sSigner and createSlhDsaShake128sVerifier.

    interface SlhDsaCreateOptions {
        useWebCrypto?: WebCryptoOption;
    }
    Index
    useWebCrypto?: WebCryptoOption

    Whether to delegate signing and verification to the runtime's Web Cryptography API, falling back to this implementation where it cannot:

    • "auto" (default): if available, except on Node.js, which has no SLH-DSA so far.
    • true: if available.
    • false: never.