Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
base91.js is a base91 implementation in javascript that allows encoding/decoding of data to/from an ASCII representation that is more compact than base64.
More information about the base91 algorithm itself can be found here.
npm install base91
var base91 = require('base91');
console.log(base91.encode('node.js rules!'));
console.log(base91.decode(base91.encode('node.js rules!')).toString());
// outputs:
// lref5gTT$FQ;C90ohA
// node.js rules!
encode(< mixed >data) - string - Encodes data
and returns the resulting base91 representation. data
can be a string or an Array-like object (e.g. Buffer in node.js, Uint8Array or Array in browsers).
decode(< string >encodedData) - mixed - Decodes encodedData
and returns the result. For node.js, it will return a Buffer, otherwise it will return a Uint8Array if available, or a plain Array as a final fallback.
FAQs
base91 implementation in javascript for node.js and browsers
The npm package base91 receives a total of 1 weekly downloads. As such, base91 popularity was classified as not popular.
We found that base91 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.