Represents digest operation

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

Properties

lib: PKCS11

PKCS#11 module

session: Session

Session

Methods

  • Finishes a multiple-part message-digesting operation

    Returns Buffer

    Computed digest value

  • Digests data in a single part

    Parameters

    • data: CryptoData

      Data for digest computing

    Returns Buffer

    Computed digest value

  • Digests data in a single part

    Parameters

    • data: CryptoData

      Data for digest computing

    • cb: ((error: Error, data: Buffer) => void)

      Async callback function with computed digest value

        • (error, data): void
        • Parameters

          • error: Error
          • data: Buffer

          Returns void

    Returns void

  • Continues a multiple-part message-digesting operation operation

    Parameters

    • data: CryptoData

      Data for digest computing

    Returns void