import {
  __export
} from "./chunk-OD6CXVQX.js";

// src/exceptions.ts
var exceptions_exports = {};
__export(exceptions_exports, {
  E_BLIND_INDEX_PURPOSE_REQUIRED: () => E_BLIND_INDEX_PURPOSE_REQUIRED,
  E_DETERMINISTIC_DRIVER_EXPIRES_IN_NOT_SUPPORTED: () => E_DETERMINISTIC_DRIVER_EXPIRES_IN_NOT_SUPPORTED,
  E_INSECURE_ENCRYPTER_KEY: () => E_INSECURE_ENCRYPTER_KEY,
  E_INVALID_ENCRYPTER_ID: () => E_INVALID_ENCRYPTER_ID,
  E_MISSING_ENCRYPTER_ID: () => E_MISSING_ENCRYPTER_ID,
  E_MISSING_ENCRYPTER_KEY: () => E_MISSING_ENCRYPTER_KEY,
  E_MISSING_ENCRYPTER_KEYS: () => E_MISSING_ENCRYPTER_KEYS
});
import { createError } from "@poppinss/utils/exception";
var E_INSECURE_ENCRYPTER_KEY = createError(
  "The value of your key should be at least 16 characters long",
  "E_INSECURE_ENCRYPTER_KEY"
);
var E_MISSING_ENCRYPTER_KEY = createError(
  "Missing key. The key is required to encrypt values",
  "E_MISSING_ENCRYPTER_KEY"
);
var E_MISSING_ENCRYPTER_KEYS = createError(
  "Missing keys. At least one key is required to encrypt values",
  "E_MISSING_ENCRYPTER_KEYS"
);
var E_MISSING_ENCRYPTER_ID = createError(
  "Missing id. The id is required to encrypt values",
  "E_MISSING_ENCRYPTER_ID"
);
var E_INVALID_ENCRYPTER_ID = createError(
  'Invalid id. The id must be a non-empty string and cannot contain "."',
  "E_INVALID_ENCRYPTER_ID"
);
var E_DETERMINISTIC_DRIVER_EXPIRES_IN_NOT_SUPPORTED = createError(
  "Deterministic encryption does not support expiresIn",
  "E_DETERMINISTIC_DRIVER_EXPIRES_IN_NOT_SUPPORTED"
);
var E_BLIND_INDEX_PURPOSE_REQUIRED = createError(
  "Blind index requires a non-empty purpose",
  "E_BLIND_INDEX_PURPOSE_REQUIRED"
);

export {
  E_INSECURE_ENCRYPTER_KEY,
  E_MISSING_ENCRYPTER_KEY,
  E_MISSING_ENCRYPTER_KEYS,
  E_MISSING_ENCRYPTER_ID,
  E_INVALID_ENCRYPTER_ID,
  E_DETERMINISTIC_DRIVER_EXPIRES_IN_NOT_SUPPORTED,
  E_BLIND_INDEX_PURPOSE_REQUIRED,
  exceptions_exports
};
/*
 * @boringnode/encryption
 *
 * @license MIT
 * @copyright Boring Node
 */
//# sourceMappingURL=chunk-2UOFQLYL.js.map