@aws-sdk/hash-node

  • Version 3.266.0
  • Published
  • 16.6 kB
  • 4 dependencies
  • Apache-2.0 license

Install

npm i @aws-sdk/hash-node
yarn add @aws-sdk/hash-node
pnpm add @aws-sdk/hash-node

Overview

[![NPM version](https://img.shields.io/npm/v/@aws-sdk/hash-node/latest.svg)](https://www.npmjs.com/package/@aws-sdk/hash-node) [![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/hash-node.svg)](https://www.npmjs.com/package/@aws-sdk/hash-node)

Index

Classes

class Hash

class Hash implements Checksum {}

    constructor

    constructor(algorithmIdentifier: string, secret?: SourceData);

      method digest

      digest: () => Promise<Uint8Array>;

        method reset

        reset: () => void;

          method update

          update: (toHash: SourceData, encoding?: 'utf8' | 'ascii' | 'latin1') => void;

            Package Files (1)

            Dependencies (4)

            Dev Dependencies (8)

            Peer Dependencies (0)

            No peer dependencies.

            Badge

            To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

            You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@aws-sdk/hash-node.

            • Markdown
              [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@aws-sdk/hash-node)
            • HTML
              <a href="https://www.jsdocs.io/package/@aws-sdk/hash-node"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>