Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
ethereumjs-utils
Advanced tools
A collection of utility functions for ethereum. It can be used in node.js or can be in the browser with browserify.
Most of the string manipulation methods are provided by ethjs-util
MPL-2.0
[5.2.0] - 2018-04-27
sha3
hash related constants and functions to keccak
, see
this EIP discussion for context
(tl;dr: Ethereum uses a slightly different hash algorithm then in the official
SHA-3
standard)SHA3_NULL_S
-> KECCAK256_NULL_S
SHA3_NULL
-> KECCAK256_NULL
SHA3_RLP_ARRAY_S
-> KECCAK256_RLP_ARRAY_S
SHA3_RLP_ARRAY
-> KECCAK256_RLP_ARRAY
SHA3_RLP_S
-> KECCAK256_RLP_S
SHA3_RLP
-> KECCAK256_RLP
sha3()
-> keccak()
(number of bits determined in arguments)keccak256()
alias function for keccak(a, 256)
sha
-named versions is now DEPRECATED
and the related
constants and functions will be removed on the next major release v6.0.0
FAQs
a collection of utility functions for Ethereum
We found that ethereumjs-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.