Crypto provider for NodeJS that uses a native extension to improve performance of the IGE mode.

Other modes are supported natively by OpenSSL, and they are faster than the custom ones.

Hierarchy (View Summary)

Constructors

Methods

  • Parameters

    • pq: Uint8Array

    Returns [Uint8Array, Uint8Array]

  • Parameters

    • data: Uint8Array

    Returns Uint8Array

  • Parameters

    • data: Uint8Array
    • maxSize: number

    Returns null | Uint8Array

  • Parameters

    • data: Uint8Array
    • key: Uint8Array

    Returns Uint8Array

  • Parameters

    • password: Uint8Array
    • salt: Uint8Array
    • iterations: number
    • keylen: number = 64
    • algo: string = 'sha512'

    Returns Promise<Uint8Array>

  • Parameters

    • size: number

    Returns Uint8Array

  • Parameters

    • data: Uint8Array

    Returns Uint8Array

  • Parameters

    • data: Uint8Array

    Returns Uint8Array