Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
blake2b-stream
Advanced tools
Readme
blake2b-stream
Node Stream wrapper for Blake2b
var blakeb2Stream = require('blake2b-stream')
process.stdin.pipe(blake2bStream(function (err, hash) {
if (err) throw err
console.log('b2sum:', hash.toString('hex'))
}))
var stream = blakeb2Stream([opts], cb(err, hash))
Create a stream that calculates the Blake2b hash when .end()
ed. opts
include
opts.outputLength
for the byte length of the hash and opts.key
if you want
to partition your hash space with a custom key. opts.key
must be buffer. The
allowed ranges for either argument can be referenced by the constants below.
When the source stream ends cb
will be called with a Buffer
of length
opts.outputLenght
(which defaults to blake2bStream.BYTES
/ 32 bytes)
blake2bStream.BYTES
Default hash lengthblake2bStream.BYTES_MIN
Min hash lengthblake2bStream.BYTES_MAX
Max hash lengthblake2bStream.KEYBYTES
Recommended key lengthblake2bStream.KEYBYTES_MIN
Min key lengthblake2bStream.KEYBYTES_MAX
Max key lengthnpm install blake2b-stream
FAQs
Node Stream wrapper for Blake2b
The npm package blake2b-stream receives a total of 2 weekly downloads. As such, blake2b-stream popularity was classified as not popular.
We found that blake2b-stream demonstrated a not healthy version release cadence and project activity because the last version was released 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.