UNPKG

expo-crypto

Version:

Provides cryptography primitives for Android, iOS and web.

35 lines (28 loc) 859 B
/** * Automatically generated by expo-modules-test-core. * * This autogenerated file provides a mock for native Expo module, * and works out of the box with the expo jest preset. * * Note: expo-modules-test-core cannot currently parse the Class() definitions * in AesCryptoModule.swift, so the EncryptionKey and SealedData classes have * been added manually. * */ export class EncryptionKey {} export class SealedData { static fromParts(...args: any[]): SealedData { return new SealedData(); } static fromCombined(...args: any[]): SealedData { return new SealedData(); } } export async function encryptAsync(): Promise<void> {} export async function decryptAsync(): Promise<void> {} // Export default object to match how the module is imported export default { EncryptionKey, SealedData, encryptAsync, decryptAsync, };