Crypto Lib
    Preparing search index...
    • Decrypt a password-encrypted payload.

      Parameters

      • password: string | Uint8Array<ArrayBufferLike>
      • encrypted: string | Uint8Array<ArrayBufferLike>

      Returns Uint8Array

      If the password is wrong or the data has been tampered with.