Crypto SDK
    Preparing search index...

    Interface MlDsaKeyPair

    ML-DSA (Dilithium) key pair for post-quantum digital signatures.

    const { data } = await client.pqSignKeygen({ level: 65 });
    const keys: MlDsaKeyPair = data;
    console.log(keys.publicKey, keys.algorithm); // "ml-dsa-65"
    interface MlDsaKeyPair {
        publicKey: string;
        secretKey: string;
        algorithm: string;
    }
    Index
    publicKey: string

    Hex-encoded ML-DSA public key.

    secretKey: string

    Hex-encoded ML-DSA secret key.

    algorithm: string

    ML-DSA algorithm level (e.g. "ml-dsa-65").