/** * Native crypto callbacks that delegate AES/HMAC primitives to Node's OpenSSL * (`node:crypto`). Pass the returned object as the second argument to * `initWasmEngine(logger, nativeCrypto)` — every Signal / Noise primitive in * the Rust bridge (wacore_libsignal::crypto) will use it instead of the WASM * soft implementation. * * Safe to use only in Node.js / Bun. In browsers, omit this and the bridge * falls back to the WASM soft AES + sha2. */ export declare const makeNativeCryptoProvider: () => { aesCbc256Encrypt(key: Uint8Array, iv: Uint8Array, plaintext: Uint8Array): Uint8Array; aesCbc256Decrypt(key: Uint8Array, iv: Uint8Array, ciphertext: Uint8Array): Uint8Array; aesGcm256Encrypt(key: Uint8Array, nonce: Uint8Array, aad: Uint8Array, plaintext: Uint8Array): Uint8Array; aesGcm256Decrypt(key: Uint8Array, nonce: Uint8Array, aad: Uint8Array, ciphertextWithTag: Uint8Array): Uint8Array; hmacSha256(key: Uint8Array, data: Uint8Array): Uint8Array; }; //# sourceMappingURL=native-crypto-provider.d.ts.map