Security News
New axobject-query Maintainer Faces Backlash Over Controversial Decision to Support Legacy Node.js Versions
A JavaScript library maintainer is under fire after merging a controversial PR to support legacy versions of Node.js.
multihashes-sync
Advanced tools
Readme
Sync Multihash implementation.
Spiritual successor to deprecated multihashing. Compatible with multiformats.
> pnpm install multihashes-sync
import { sha256, sha512 } from 'multihashes-sync/sha2'
var bytes = Uint8Array.from([0, 1, 2, 3])
var digest = sha256.digest(bytes)
> console.log(digest)
Digest {
code: 18,
size: 32,
digest: <Buffer 05 4e de c1 d0 21 1f 62 4f ed 0c bc a9 d4 f9 40 0b 0e 49 1c 43 74 2a f2 c5 b0 ab eb f0 c9 90 d8>,
bytes: Uint8Array(34) [
18, 32, 5, 78, 222, 193, 208, 33,
31, 98, 79, 237, 12, 188, 169, 212,
249, 64, 11, 14, 73, 28, 67, 116,
42, 242, 197, 176, 171, 235, 240, 201,
144, 216
]
}
MIT or Apache-2.0
FAQs
Synchronous SHA256, SHA512 multihashes
The npm package multihashes-sync receives a total of 2,106 weekly downloads. As such, multihashes-sync popularity was classified as popular.
We found that multihashes-sync demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A JavaScript library maintainer is under fire after merging a controversial PR to support legacy versions of Node.js.
Security News
Results from the 2023 State of JavaScript Survey highlight key trends, including Vite's dominance, rising TypeScript adoption, and the enduring popularity of React. Discover more insights on developer preferences and technology usage.
Security News
The US Justice Department has penalized two consulting firms $11.3 million for failing to meet cybersecurity requirements on federally funded projects, emphasizing strict enforcement to protect sensitive government data.