
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
buffer-base62
Advanced tools
This library will transform the binary buffer to base62 string that used 62 character to describe any data
This library will transform the binary buffer to base62 string that used 62 character to describe any data
let BufferBase62 = require('./buffer-base62');
let rawData = "let's have a try, this is a text that not encrypted";
{
let bufferRawData = Buffer.from(rawData);
console.log('bufferRawData', bufferRawData); //output: bufferRawData <Buffer 6c 65 74 27 73 20 68 61 76 65 20 61 20 74 72 79 2c 20 74 68 69 73 20 69 73 20 61 20 74 65 78 74 20 74 68 61 74 20 6e 6f 74 20 65 6e 63 72 79 70 74 65 ... >
let base62Data = BufferBase62.toBase62(bufferRawData);
console.log('base62Data', base62Data); //output: base62Data 3fO7Uqb2oHZjEALizByUEmtsJq86GWI6W3h0OxRZZXVGqiBeoM4bwZf7DuKh4EpfaHcEG
let restoreData = BufferBase62.fromBase62(base62Data);
console.log('restoreData', restoreData.toString('utf-8')); //output restoreData let's have a try, this is a text that not encrypted
}
FAQs
This library will transform the binary buffer to base62 string that used 62 character to describe any data
The npm package buffer-base62 receives a total of 188 weekly downloads. As such, buffer-base62 popularity was classified as not popular.
We found that buffer-base62 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.