Trevixal API
    Preparing search index...
    • Stretch a password into a non-extractable AES-256-GCM key. Exposed so a lock screen (or createEncryptedStorage) can derive once and reuse the key for many envelopes that share a salt, instead of paying for PBKDF2 each time.

      Parameters

      • password: string
      • salt: Uint8Array<ArrayBuffer>
      • iterations: number = DEFAULT_ITERATIONS

      Returns Promise<CryptoKey>