@aws-crypto/sha256-js
- Version 5.2.0
- Published
- 129 kB
- 3 dependencies
- Apache-2.0 license
Install
npm i @aws-crypto/sha256-js
yarn add @aws-crypto/sha256-js
pnpm add @aws-crypto/sha256-js
Overview
A pure JS implementation SHA256.
Index
Classes
class Sha256
class Sha256 implements Checksum {}
constructor
constructor(secret?: SourceData);
method digest
digest: () => Promise<Uint8Array>;
method digestSync
digestSync: () => Uint8Array;
method reset
reset: () => void;
method update
update: (toHash: SourceData) => void;
Package Files (2)
Dependencies (3)
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto 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-crypto/sha256-js
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@aws-crypto/sha256-js)
- HTML<a href="https://www.jsdocs.io/package/@aws-crypto/sha256-js"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2047 ms. - Missing or incorrect documentation? Open an issue for this package.