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.
RC4 stream cipher
my original python code
Install through NPM
npm install arc4
or
git clone git://github.com/hex7c0/arc4.git
inside nodejs project
var rc4 = require('arc4')('secret_key');
rc4.codeString('foo');
change your key (warning)
rc4.change('foo');
encode string data
rc4.codeString('string');
encode array data
rc4.codeArray([49,50,51]);
encode buffer data
rc4.codeBuffer(new Buffer('ciao'));
encode string, byte or buffer
rc4.code(your_data);
same methods with RC4A
postifx for RC4A
rc4.codeRC4A(your_data);
same methods with VMPC
postifx for VMPC
rc4.codeVMPC(your_data);
same methods with RC4P
postifx for RC4+
rc4.codeRC4P(your_data);
key
- String | Array | Buffer Your key (default "throw Error")lodash
- Boolean Use lodash library (check benchmark test for right decision) (default "disabled")Take a look at my examples
FAQs
rc4 stream cipher
The npm package arc4 receives a total of 314 weekly downloads. As such, arc4 popularity was classified as not popular.
We found that arc4 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.
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.