@basmilius/apple-common 0.0.80 → 0.0.82

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  export declare const CHACHA20_AUTH_TAG_LENGTH = 16;
2
2
  export declare const CHACHA20_NONCE_LENGTH = 12;
3
- export declare function decrypt(key: Buffer, nonce: Buffer, add: Buffer | null, ciphertext: Buffer, authTag: Buffer): Buffer;
3
+ export declare function decrypt(key: Buffer, nonce: Buffer, aad: Buffer | null, ciphertext: Buffer, authTag: Buffer): Buffer;
4
4
  export declare function encrypt(key: Buffer, nonce: Buffer, aad: Buffer | null, plaintext: Buffer): EncryptedData;
5
5
  export declare function padNonce(nonce: Buffer): Buffer;
6
6
  export type EncryptedData = {