Crypto SDK
    Preparing search index...

    Interface StreamPqEncryptParams

    Parameters for hybrid post-quantum stream encryption.

    interface StreamPqEncryptParams {
        x25519PublicKey: string;
        mlKemPublicKey: string;
        plaintext: string;
        chunkSize?: number;
    }
    Index
    x25519PublicKey: string

    Recipient X25519 public key (64 hex characters).

    mlKemPublicKey: string

    Recipient ML-KEM-768 public key (hex string).

    plaintext: string

    Plaintext data to encrypt.

    chunkSize?: number

    Chunk size in bytes (optional, default 65536).