
Security News
Google’s OSV Fix Just Added 500+ New Advisories — All Thanks to One Small Policy Change
A data handling bug in OSV.dev caused disputed CVEs to disappear from vulnerability feeds until a recent fix restored over 500 advisories.
tos-crc64-js
Advanced tools
Supply Chain Security
Vulnerability
Quality
Maintenance
License
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Pure JavaScript implement of CRC64-ECMA182 for Node.js.
This package can be used as verify Ali-OSS file.
$ npm install --save crc64-ecma182.js
You can calculate the CRC64-ECMA182 value for a Node.js buffer or string:
crc64.crc64(buff[, prev]);
buff
: the buffer or string to be calculated;prev
]: if exists, prev
indicates the previous CRC64-ECMA182 value; (optional)const crc64 = require("crc64-ecma182.js");
const ret1 = crc64.crc64("123456789");
const ret2 = crc64.crc64(new Buffer("123456789"));
const ret3 = crc64.crc64("123456789", "0");
const ret4 = crc64.crc64(new Buffer("123456789"), "0");
// ret1 ~ ret2 all equals to:
//
// '11051210869376104954'
You can calculate the CRC64-ECMA182 value for a file:
crc64.crc64File(filename, callback);
filename
: the file's name that to be calculated;callback
: the callback function which receives two arguments err
and ret
.crc64.crc64File(path.join(__dirname, "pic.png"), function(err, ret) {
console.log(err, ret);
// a possible result:
//
// undefined 5178350320981835788
});
You're welcome to make pull-requests.
FAQs
Pure JavaScript implement of CRC64-ECMA182 for Node.js.
The npm package tos-crc64-js receives a total of 295 weekly downloads. As such, tos-crc64-js popularity was classified as not popular.
We found that tos-crc64-js 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
A data handling bug in OSV.dev caused disputed CVEs to disappear from vulnerability feeds until a recent fix restored over 500 advisories.
Research
/Security News
175 malicious npm packages (26k+ downloads) used unpkg CDN to host redirect scripts for a credential-phishing campaign targeting 135+ organizations worldwide.
Security News
Python 3.14 adds template strings, deferred annotations, and subinterpreters, plus free-threaded mode, an experimental JIT, and Sigstore verification.