cubetiq-crypto-js/src/crypto/index.ts

20 lines
597 B
TypeScript
Raw Normal View History

import { decrypt, encrypt } from "./core/default.crypto"
import { encrypt as e2eEncrypt, decrypt as e2eDecrypt } from "./core/e2e.crypto"
import { CryptoProvider } from "./crypto"
import { ICryptoProvider } from "./provider.crypto"
import { DefaultCryptoProvider } from "./provider/default.provider"
import { E2ECryptoProvider } from "./provider/e2e.provider"
export {
encrypt,
decrypt,
e2eEncrypt,
e2eDecrypt,
// Some implementations of ICryptoProvider
ICryptoProvider,
DefaultCryptoProvider,
E2ECryptoProvider,
// Core crypto functions
CryptoProvider,
}