
Security News
Scaling Socket from Zero to 10,000+ Organizations
Socket CEO Feross Aboukhadijeh shares lessons from scaling a developer security startup to 10,000+ organizations in this founder interview.
@anzerr/banano.talk
Advanced tools
Intro
Util to encode and decode for monkeytalks. This has the start of a new spec I wanted to expand on the idea to try and get longer text saved. The encoding can be slimed down by using the pow to store the charset. If we use the last two digest of the PoW that expands the charset to 65535.
This is a first attempt to use this expanded charset to store longer text.
Installnpm install --save git+https://github.com/anzerr/banano.talk.git
npm install --save @anzerr/banano.talk
Exampleconst {Advanced, Simple} = require('banano.talk');
const advanced = new Advanced(); // new spec still in beta
advanced.encode('send ban i guess').then((res) => {
console.log('done', res);
}).catch(console.log);
const simple = new Simple(); // respects the specs for https://monkeytalks.cc/
simple.encode('hello, world!').then((res) => {
console.log('done', res);
return simple.decode(res.code);
}).then((res) => {
console.log('done', res);
}).catch(console.log);
const n = BigInt('2500000000000000000895174265676'.slice(-29)) ^ 895175784877n; // monkeytalks has a xor key
simple.decode(n.toString()).then((res) => {
console.log('done', res); // hi
}).catch(console.log);
The output should look like this
{ // Simple
text: ' hello, world!',
charset: '894',
checksum: '2',
blocks: 218270136646108545717n,
cost: 0.000021827013664610858,
code: '2182701366461085457178942'
}
{ // Advanced
text: 'howtobanano.info ',
charset: '0000',
blocks: ['h', 'o', 'w', 'to', 'b', 'an', 'an', 'o', '.', 'in', 'f', 'o', ' '],
raw: ['37',
'28',
'40',
'45',
'22',
'56',
'56',
'28',
'14',
'46',
'34',
'28',
'0'
],
code: '000028344614285656224540283719'
}
FAQs
Util to encode and decode for monkeytalks
We found that @anzerr/banano.talk 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
Socket CEO Feross Aboukhadijeh shares lessons from scaling a developer security startup to 10,000+ organizations in this founder interview.

Research
Socket Threat Research maps a rare inside look at OtterCookie’s npm-Vercel-GitHub chain, adding 197 malicious packages and evidence of North Korean operators.

Research
Socket researchers identified a malicious Chrome extension that manipulates Raydium swaps to inject an undisclosed SOL transfer, quietly routing fees to an attacker wallet.