
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
encryption-algorithm-aes
Advanced tools
Strong AES-GCM encryption/decryption with PBKDF2 key derivation in JavaScript (Node.js & browser).
npm install encryption-algorithm-aes
import { encrypt, decrypt } from "secure-encrypt";
const token = await encrypt("hello world", "my-password");
console.log("Encrypted:", token);
console.log(await decrypt(token, "my-password"));
🔒 AES-256-GCM for strong encryption
🔑 PBKDF2 key derivation with salt & iterations
📦 Tiny & dependency-free
⚡ Async functions for better performance
encrypt(data: string, password: string): Promise<string>```
Encrypts a string with the given password. Returns a Base64-encoded token containing salt, IV, and ciphertext.
decrypt(token: string, password: string): Promise<string>```
Decrypts a token with the given password. Returns the original plaintext string.
MIT © Akram Benaoun
FAQs
Strong AES-GCM encryption/decryption with PBKDF2 key derivation in JavaScript (Node.js & browser).
The npm package encryption-algorithm-aes receives a total of 2 weekly downloads. As such, encryption-algorithm-aes popularity was classified as not popular.
We found that encryption-algorithm-aes demonstrated a healthy version release cadence and project activity because the last version was released less than 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 breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.