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

    Interface SlhDsaSignOptions

    interface SlhDsaSignOptions {
        context?: Uint8Array;
        deterministic?: boolean;
        seed?: Uint8Array;
    }
    Index
    context?: Uint8Array

    A context string of at most 255 octets. Defaults to the empty string.

    deterministic?: boolean

    If true, no randomness is used: the deterministic variant of FIPS 205. It cannot be combined with seed. Not delegated to the Web Cryptography API.

    seed?: Uint8Array

    An optional n-octet value (addrnd in FIPS 205) for the signature generation, where n is 16, 24 or 32 for the parameter sets of the security category 1, 3 or 5. If omitted, a fresh random value is used (the hedged variant). Not delegated to the Web Cryptography API.