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

interface AwsKeyManagerDigestParams {
    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.