Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
crypto-aes-gcm
Advanced tools
Uses the SubtleCrypto interface of the Web Cryptography API to encrypt and decrypt text using AES-GCM (AES Galois counter mode)
Uses the SubtleCrypto interface of the Web Cryptography API to encrypt and decrypt text using AES-GCM (AES Galois counter mode).
This module uses the native WebCrypto API in node.js, Deno and the browser.
Node and browser: crypto-aes-gcm
Deno package: https://deno.land/x/crypto_aes_gcm
import { aes_gcm_encrypt, aes_gcm_decrypt } from 'crypto-aes-gcm';
const password = '123456';
const message = 'i will never let you go';
const encrypted = await aes_gcm_encrypt(message, password);
console.log(encrypted);
const decrypted = await aes_gcm_decrypt(encrypted, password);
console.log(decrypted);
console.log(message === decrypted);
The code was originally written by Chris Veness.
FAQs
Uses the SubtleCrypto interface of the Web Cryptography API to encrypt and decrypt text using AES-GCM (AES Galois counter mode)
We found that crypto-aes-gcm 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.