Creates an SLH-DSA-SHAKE-256f (NIST security category 5, fast signing) verifier which holds a public key.
An application which uses only this does not bundle the code for key generation and signing.
A public key (64 octets).
Optional
Options: see SlhDsaCreateOptions.
A promise that resolves to an SlhDsaVerifierInterface instance.
import { createSlhDsaShake256fVerifier } from "@webpqc/slhdsa";async function verify(pk: Uint8Array, sig: Uint8Array, msg: Uint8Array) { const verifier = await createSlhDsaShake256fVerifier(pk); return await verifier.verify(sig, msg);} Copy
import { createSlhDsaShake256fVerifier } from "@webpqc/slhdsa";async function verify(pk: Uint8Array, sig: Uint8Array, msg: Uint8Array) { const verifier = await createSlhDsaShake256fVerifier(pk); return await verifier.verify(sig, msg);}
Creates an SLH-DSA-SHAKE-256f (NIST security category 5, fast signing) verifier which holds a public key.
An application which uses only this does not bundle the code for key generation and signing.