packages/cryptobox/src/demo/benchmark.js
async function createCryptobox(storeName, amountOfPreKeys = 1) {
  const engine = new MemoryEngine();
  await engine.init(storeName);
  return new Cryptobox(engine, amountOfPreKeys);
}
async function createCryptobox(storeName, amountOfPreKeys = 1) {
  const engine = new MemoryEngine();
  await engine.init(storeName);
  return new Cryptobox(engine, amountOfPreKeys);
}
async function createCryptobox ( storeName , amountOfPreKeys = 1 ) { const engine = new MemoryEngine ( ) ; await engine . init ( storeName ) ; return new Cryptobox ( engine , amountOfPreKeys ) ; }
Creates a Cryptobox with an initialized store.
Creates a Cryptobox with an initialized store .