Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@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 12 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.