Interface LocalKeyManagerDigestParams

The LocalKeyManagerDigestParams interface defines the algorithm-specific parameters that should be passed into the LocalKeyManager.digest() method.

interface LocalKeyManagerDigestParams {
    algorithm: "SHA-256";
    data: Uint8Array;
}

Hierarchy (view full)

Properties

Properties

algorithm: "SHA-256"

A string defining the name of hash function to use. The value must be one of the following:

  • "SHA-256": Generates a 256-bit digest.
data: Uint8Array

Data to be digested.