Crypto SDK
    Preparing search index...

    Interface SlhDsaVerifyResult

    Result of an SLH-DSA signature verification.

    const { data } = await client.pqHashVerify({ variant: 'shake-128f', publicKey, message: 'hello', signature: sig });
    const result: SlhDsaVerifyResult = data;
    console.log(result.valid); // true or false
    interface SlhDsaVerifyResult {
        valid: boolean;
        algorithm: string;
    }
    Index
    valid: boolean

    Whether the SLH-DSA signature is valid.

    algorithm: string

    SLH-DSA variant used for verification.