
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
cryptoberloga
Advanced tools
# Crypto Berloga
Crypto Berloga is a simple JavaScript package that provides functions for encrypting and decrypting messages using a simple substitution cipher.
## Installation
You can install Crypto Berloga via npm:
```bash
npm install crypto-berloga
const { encrypt, decrypt } = require('crypto-berloga');
// Encrypt a message
const encryptedMessage = encrypt('hello');
// Decrypt the encrypted message
const decryptedMessage = decrypt(encryptedMessage);
console.log('Encrypted message:', encryptedMessage);
console.log('Decrypted message:', decryptedMessage);
encrypt(message: string): string
Encrypts a message using a simple substitution cipher.
message
: The message to encrypt.decrypt(encryptedMessage: string): string
Decrypts an encrypted message encrypted with the simple substitution cipher.
encryptedMessage
: The encrypted message to decrypt.const { encrypt, decrypt } = require('crypto-berloga');
const originalMessage = 'hello world';
// Encrypt the message
const encryptedMessage = encrypt(originalMessage);
// Decrypt the encrypted message
const decryptedMessage = decrypt(encryptedMessage);
console.log('Original message:', originalMessage);
console.log('Encrypted message:', encryptedMessage);
console.log('Decrypted message:', decryptedMessage);
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
Crypto market discussion
We found that cryptoberloga 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.