
Security News
The Code You Didn't Write Is Still Yours to Defend
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.
OpenSSL-HA is based off of the native OpenSSL library and will provide functionality of the widely adopted AES-256 and HS-256 algorithms.
OpenSSL-HA is based off of the native OpenSSL library and will provide functionality of the widely adopted AES-256 and HS-256 algorithms.
npm install openssl-ha
import { encryptAes256, decryptAes256, encryptHs256 } from 'openssl-ha';
// Encrypt a message with AES-256
const message = 'Hello, World!';
const key = '3nCrYpT10nK3y!';
const encryptedMessage = encryptAes256(message, key);
console.log('Encrypted Message:', encryptedMessage);
// Decrypt the encrypted message with AES-256
const decryptedMessage = decryptAes256(encryptedMessage, key);
console.log('Decrypted Message:', decryptedMessage);
// Generate an HS-256 hash
const hash = encryptHs256(message, key);
console.log('Hash:', hash);
encryptAes256(message: string, key: string): string
decryptAes256(ciphertext: string, key: string): string
encryptHs256(message: string, key: string): string
This project is licensed under the MIT License.
FAQs
OpenSSL-HA is based off of the native OpenSSL library and will provide functionality of the widely adopted AES-256 and HS-256 algorithms.
The npm package openssl-ha receives a total of 19 weekly downloads. As such, openssl-ha popularity was classified as not popular.
We found that openssl-ha 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
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.