interface DecryptArgs {
    additionalAuthenticatedData?: {
        data: Uint8Array;
        plaintextLength?: number;
    };
    algorithm: EncryptionAlgorithm;
    authTag: Uint8Array;
    authTagLength?: number;
    initializationVector: Uint8Array;
    key: Uint8Array;
    payloadToDecode: Uint8Array;
}

Properties

additionalAuthenticatedData?: {
    data: Uint8Array;
    plaintextLength?: number;
}

Type declaration

  • data: Uint8Array
  • Optional plaintextLength?: number
authTag: Uint8Array
authTagLength?: number
initializationVector: Uint8Array
key: Uint8Array
payloadToDecode: Uint8Array