Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Apr 1, 2024 via pnpm

@aws-crypto/sha256-js 1.2.2

A pure JS implementation SHA256.
Package summary
Share
0
issues
2
licenses
5
Apache-2.0
2
0BSD
Package created
7 Nov 2018
Version published
13 Oct 2021
Maintainers
8
Total deps
7
Direct deps
3
License
Apache-2.0

Issues

0
This package has no issues

Licenses

Apache License 2.0

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
use-patent-claims
place-warranty
Cannot
hold-liable
use-trademark
Must
include-copyright
include-license
state-changes
include-notice
5 Packages, Including:
@aws-crypto/sha256-js@1.2.2
@aws-crypto/util@1.2.2
@aws-sdk/types@3.535.0
@aws-sdk/util-utf8-browser@3.259.0
@smithy/types@2.12.0

BSD Zero Clause License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
include-copyright
include-license
include-original
Cannot
hold-liable
Must
2 Packages, Including:
tslib@1.14.1
tslib@2.6.2
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

3
All Dependencies CSV
β“˜ This is a list of @aws-crypto/sha256-js 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
@aws-crypto/util1.2.29.43 kBApache-2.0
prod
@aws-sdk/types3.535.047.39 kBApache-2.0
prod
tslib1.14.17.43 kB0BSD
prod

Visualizations

Frequently Asked Questions

What does @aws-crypto/sha256-js do?

The @aws-crypto/sha256-js is a pure JavaScript implementation of the SHA256 cryptographic hash function. Its functionality is based around providing a way to generate secure hash algorithms mostly for AWS computations, but can also be utilized in other contexts. SHA256 is a commonly used encryption process, and now it's brought to you in JavaScript courtesy of the Amazon Web Services team.

How do you use @aws-crypto/sha256-js?

Using @aws-crypto/sha256-js involves creating a new instance of the Sha256 class and then calling methods on it to update the data you want to hash, and finally digest the data to produce your hashed result. Below are couple of code examples:

For hashing some data:

import {Sha256} from '@aws-crypto/sha256-js';
const hash = new Sha256();
hash.update('some data');
const result = await hash.digest();

For hmac "some data" with "a key":

import {Sha256} from '@aws-crypto/sha256-js';
const hash = new Sha256('a key');
hash.update('some data');
const result = await hash.digest();

Where are the @aws-crypto/sha256-js docs?

There doesn't seem to be a separate documentation site for @aws-crypto/sha256-js. The main source of information for this package is its README file on the GitHub repository. This provides brief details on what the package does and how to use it. You can access this information at GitHub repository for @aws-crypto/sha256-js.