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 May 2, 2024 via pnpm

create-hash 1.2.0

create hashes for browserify
Package summary
Share
0
issues
3
licenses
9
MIT
1
ISC
1
(MIT AND BSD-3-Clause)
Package created
14 Jan 2015
Version published
11 Apr 2018
Maintainers
5
Total deps
11
Direct deps
5
License
MIT

Issues

0
This package has no issues

Licenses

MIT 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
Cannot
hold-liable
Must
include-copyright
include-license
9 Packages, Including:
cipher-base@1.0.4
create-hash@1.2.0
hash-base@3.1.0
md5.js@1.3.5
readable-stream@3.6.2
ripemd160@2.0.2
safe-buffer@5.2.1
string_decoder@1.3.0
util-deprecate@1.0.2

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
inherits@2.0.4

(MIT AND BSD-3-Clause)

Permissive
1 Packages, Including:
sha.js@2.4.11
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

5
All Dependencies CSV
β“˜ This is a list of create-hash 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
cipher-base1.0.42.97 kBMIT
prod
inherits2.0.41.98 kBISC
prod
md5.js1.3.53.07 kBMIT
prod
ripemd1602.0.23.69 kBMIT
prod
sha.js2.4.119.74 kB(MIT AND BSD-3-Clause)
prod

Visualizations

Frequently Asked Questions

What does create-hash do?

The "create-hash" is a popular npm package that's primarily designed to create hashes for browserify. It brings the use of Node style hashes to the browser environment, maintaining compatibility with native hash functions in node.

How do you use create-hash?

To use the "create-hash" package, you first need to install it using npm by running npm install create-hash in your terminal. Once installed, it can be used as follows:

var createHash = require('create-hash')
var hash = createHash('sha224')
hash.update('synchronous write') // optional encoding parameter
hash.digest() // synchronously get result with optional encoding parameter

hash.write('write to it as a stream')
hash.end() // remember it's a stream
hash.read() // only if you ended it as a stream though

In the above example, 'sha224' is the hash algorithm used. The hash object is updated with the data we wish to hash using the hash.update() function, and the result is obtained using hash.digest(). If you want to force the JavaScript version even in node, use require('create-hash/browser').

Where are the create-hash docs?

The documentation for the "create-hash" package can be found on its GitHub repository. There's no dedicated website for the documentation, but the README file in the GitHub repository provides a basic introduction to the API and usage examples. Additional information can also be gleaned by reviewing the code and exploring the tests in the repository.