Documentation
    Preparing search index...

    Interface EncryptOptions

    interface EncryptOptions {
        aad?: Uint8Array<ArrayBufferLike>;
        data: Uint8Array;
        demType?: DemType;
        id: string;
        kemType?: KemType;
        packageId: string;
        threshold: number;
    }
    Index

    Properties

    aad?: Uint8Array<ArrayBufferLike>

    Optional additional authenticated data.

    data: Uint8Array

    The data to encrypt.

    demType?: DemType

    The type of DEM to use.

    id: string

    The identity to use.

    kemType?: KemType

    The type of KEM to use.

    packageId: string

    The packageId namespace.

    threshold: number

    The threshold for the TSS encryption.