//#region src/symmetric-crypto/aes.d.ts /** * Symmetrically encrypts the message * * @param encryptionKey - The symmetric key used for message encryption * @param message - The message to encrypt * @param aux - The auxilary string (e.g., context string or timestamp) for AEAD. * @returns The resulting ciphertext. */ declare function encryptSymmetrically(encryptionKey: Uint8Array, message: Uint8Array, aux?: Uint8Array): Promise; /** * Decryps symmetrically encrypted message * * @param encryptionKey - The symmetric key used for message encryption * @param encryptedMessage - The ciphertext * @param aux - The auxilary string (e.g., context string or timestamp) for AEAD. * @returns The resulting ciphertext. */ declare function decryptSymmetrically(encryptionKey: Uint8Array, encryptedMessage: Uint8Array, aux?: Uint8Array): Promise; /** * Generates symmetric key as Uint8Array * * @returns The generated Uint8Array. */ declare function genSymmetricKey(): Uint8Array; //#endregion export { decryptSymmetrically, encryptSymmetrically, genSymmetricKey }; //# sourceMappingURL=symmetric-crypto.d.ts.map