import { EncryptError } from './encrypt.js' import { DecryptError } from './decrypt.js' import { buildCreateKeypair } from './create-keypair.js' import { buildEncrypt } from './encrypt.js' import { buildVerifySignedJwt } from './verify-signed-jwt.js' import { buildDecrypt } from './decrypt.js' export function buildCryptoService() { return { createKeypair: buildCreateKeypair(), verifySignedJwt: buildVerifySignedJwt(), encrypt: buildEncrypt(), decrypt: buildDecrypt(), } as const } export { EncryptError, DecryptError }