
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
cryptographic-utils
Advanced tools
Cryptographic Utilities is a JavaScript package that provides functionalities for common cryptographic tasks such as hashing, encryption, and decryption.
Cryptographic Utilities is a JavaScript package that provides functionalities for common cryptographic tasks such as hashing, encryption, and decryption.
To install Cryptographic Utilities, simply run:
npm install cryptographic-utils
const CryptoUtils = require('cryptographic-utils');
// Hashing
const hashedData = CryptoUtils.hash('Hello, world!');
console.log('Hashed data:', hashedData);
// Encryption
const key = 'mySecretKey';
const encryptedData = CryptoUtils.encrypt('Sensitive information', key);
console.log('Encrypted data:', encryptedData);
// Decryption
const decryptedData = CryptoUtils.decrypt(encryptedData, key);
console.log('Decrypted data:', decryptedData);
CryptoUtils.hash(data, algorithm)Hashes the provided data using the specified algorithm (default is SHA-256) and returns the hashed value as a hexadecimal string.
CryptoUtils.encrypt(data, key, algorithm)Encrypts the provided data using the specified key and algorithm (default is AES-256-CBC) and returns the encrypted value as a hexadecimal string.
CryptoUtils.decrypt(data, key, algorithm)Decrypts the provided data using the specified key and algorithm (default is AES-256-CBC) and returns the decrypted value as a string.
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
Cryptographic Utilities is a JavaScript package that provides functionalities for common cryptographic tasks such as hashing, encryption, and decryption.
The npm package cryptographic-utils receives a total of 2 weekly downloads. As such, cryptographic-utils popularity was classified as not popular.
We found that cryptographic-utils 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.