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"
|
|
|
|
import { CryptoProvider } from "./crypto"
|
|
|
|
import { ICryptoProvider } from "./provider.crypto"
|
|
|
|
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,
|
|
|
|
// Some implementations of ICryptoProvider
|
|
|
|
ICryptoProvider,
|
|
|
|
DefaultCryptoProvider,
|
|
|
|
E2ECryptoProvider,
|
|
|
|
// Core crypto functions
|
|
|
|
CryptoProvider,
|
|
|
|
}
|