Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@transmute/rfc9162
Advanced tools
npm install '@transmute/rfc9162'
import RFC9162 from '@transmute/rfc9162';
const RFC9162 = require('@transmute/rfc9162');
import RFC9162 from '@transmute/rfc9162'
const entries: Uint8Array[] = []
for (let i = 0; i < 10; i++) {
entries.push(RFC9162.strToBin(`${String.fromCharCode(65 + i)}`))
}
const root = RFC9162.treeHead(entries)
const inclusionProof = RFC9162.inclusionProof(entries[2], entries)
const leaf = RFC9162.leaf(entries[2])
const verifiedInclusionProof = RFC9162.verifyInclusionProof(
root,
leaf,
inclusionProof,
)
// expect(verifiedInclusionProof).toBe(true)
entries.push(RFC9162.strToBin('Spicy update 🔥'))
const root2 = RFC9162.treeHead(entries)
const consistencyProof = RFC9162.consistencyProof(inclusionProof, entries)
const verifiedConsistencyProof = RFC9162.verifyConsistencyProof(
root,
root2,
consistencyProof,
)
// expect(verifiedConsistencyProof).toBe(true)
npm i
npm t
npm run lint
npm run build
FAQs
An implementation of https://datatracker.ietf.org/doc/rfc9162/
The npm package @transmute/rfc9162 receives a total of 11 weekly downloads. As such, @transmute/rfc9162 popularity was classified as not popular.
We found that @transmute/rfc9162 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.