cubetiq-crypto-js/src/crypto/index.ts
2022-02-14 19:05:24 +07:00

20 lines
578 B
TypeScript

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