Crypto Lib
    Preparing search index...

    Function openWithFirstKey

    • Runs open with each key in turn and returns the first result; if every key fails, throws the error the first (newest) key gave.

      Type Parameters

      • T

      Parameters

      • keys: Uint8Array<ArrayBufferLike>[]
      • open: (key: Uint8Array) => T

      Returns T