Hierarchy

  • PassphraseEncryption

Properties

Properties

decrypt: ((encrypted: Uint8Array, passphrase: Uint8Array) => Promise<Uint8Array>)

Type declaration

    • (encrypted: Uint8Array, passphrase: Uint8Array): Promise<Uint8Array>
    • Parameters

      • encrypted: Uint8Array
      • passphrase: Uint8Array

      Returns Promise<Uint8Array>

encrypt: ((data: Uint8Array, passphrase: Uint8Array) => Promise<Uint8Array>)

Type declaration

    • (data: Uint8Array, passphrase: Uint8Array): Promise<Uint8Array>
    • Parameters

      • data: Uint8Array
      • passphrase: Uint8Array

      Returns Promise<Uint8Array>

Generated using TypeDoc