import {
  chacha20poly1305
} from "../chunk-B2TIGD75.js";
import {
  Encryption
} from "../chunk-YD26LBNE.js";
import "../chunk-XKOJ2IWX.js";
import "../chunk-2MF2TUNL.js";
import "../chunk-RQR5RUKG.js";
import "../chunk-GF3GWB6X.js";
import "../chunk-2UOFQLYL.js";
import "../chunk-OD6CXVQX.js";

// factories/encryption.ts
var EncryptionFactory = class {
  #config;
  constructor(config) {
    this.#config = config || chacha20poly1305({
      id: "nova",
      keys: ["averylongradom32charactersstring"]
    });
  }
  create() {
    return new Encryption(this.#config);
  }
};
export {
  EncryptionFactory
};
/*
 * @boringnode/encryption
 *
 * @license MIT
 * @copyright Boring Node
 */
//# sourceMappingURL=main.js.map