CTR implements counter cipher mode.

Note that CTR mode is malleable and generally should not be used without authentication. Instead, use an authenticated encryption mode, such as GCM.

Constructors

Methods

  • Returns this

  • Parameters

    Returns this

  • Parameters

    • dst: Uint8Array

    Returns void

  • Parameters

    • src: Uint8Array
    • dst: Uint8Array

    Returns void