2022-02-14 12:30:32 +07:00
|
|
|
import { decrypt, encrypt } from "./core/default.crypto"
|
|
|
|
import { encrypt as e2eEncrypt, decrypt as e2eDecrypt } from "./core/e2e.crypto"
|
2022-02-14 19:05:24 +07:00
|
|
|
import { Crypto } from "./crypto"
|
|
|
|
import { CryptoProvider } from "./provider.crypto"
|
2022-02-14 12:30:32 +07:00
|
|
|
import { DefaultCryptoProvider } from "./provider/default.provider"
|
|
|
|
import { E2ECryptoProvider } from "./provider/e2e.provider"
|
2022-02-14 10:54:25 +07:00
|
|
|
|
2022-02-14 12:30:32 +07:00
|
|
|
export {
|
|
|
|
encrypt,
|
|
|
|
decrypt,
|
|
|
|
e2eEncrypt,
|
|
|
|
e2eDecrypt,
|
2022-02-14 19:05:24 +07:00
|
|
|
// Some implementations of CryptoProvider
|
|
|
|
CryptoProvider,
|
2022-02-14 12:30:32 +07:00
|
|
|
DefaultCryptoProvider,
|
|
|
|
E2ECryptoProvider,
|
|
|
|
// Core crypto functions
|
2022-02-14 19:05:24 +07:00
|
|
|
Crypto,
|
2022-02-14 12:30:32 +07:00
|
|
|
}
|