Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

digestish

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

digestish - npm Package Compare versions

Comparing version
0.0.4
to
2.0.0
+5
-5
package.json
{
"name": "digestish",
"version": "0.0.4",
"version": "2.0.0",
"main": "nodejs.js",

@@ -25,9 +25,9 @@ "browser": "browser.js",

"type": "git",
"url": "git+https://github.com/mikeal/digestish.git"
"url": "git+https://github.com/mikeal/digestif.git"
},
"bugs": {
"url": "https://github.com/mikeal/digestish/issues"
"url": "https://github.com/mikeal/digestif/issues"
},
"homepage": "https://github.com/mikeal/digestish#readme",
"description": ""
"homepage": "https://github.com/mikeal/digestif#readme",
"description": "Cross-Platform SHA2 hash digests."
}

@@ -1,20 +0,1 @@

# digestish
Cross-platform SHA hash digests.
This library produces digest hashes for any binary type or string
with a very low footprint and impact on bundle size in browsers.
It also works in Node.js but still restricts itself to the hash
types supported in the browser without external dependencies.
```javascript
let hash = digest('hello world') // defaults to sha256
assert(hash instanceof ArrayBuffer)
// Accepts any binary type
hash = digest(new Uint8Array(20))
// Supports SHA2 256, 384 and 512
hash = digest('hello world', 'SHA-512')
```
# Deprecated, use [`digestif`](https://github.com/mikeal/digestif)