Crypto SDK
    Preparing search index...

    Interface SlhDsaKeyPair

    SLH-DSA (SPHINCS+) key pair for hash-based post-quantum signatures.

    const { data } = await client.pqHashSignKeygen({ variant: 'shake-128f' });
    const keys: SlhDsaKeyPair = data;
    console.log(keys.publicKey, keys.algorithm);
    interface SlhDsaKeyPair {
        publicKey: string;
        secretKey: string;
        algorithm: string;
    }
    Index
    publicKey: string

    Hex-encoded SLH-DSA public key.

    secretKey: string

    Hex-encoded SLH-DSA secret key.

    algorithm: string

    SLH-DSA variant identifier (e.g. "slh-dsa-shake-128f").