New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

lena-cipher

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lena-cipher

A cryptography package that allows for encryption and decryption of messages using a customized key.

latest
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

lena-cipher

A cryptography package that allows for encryption and decryption of messages using a customized key.

Usage

const { Cipher } = require('lena-cipher');

const cipher = new Cipher('MyCustomPrivateKey');

const message = 'Hello World!';

const encoded = await cipher.encrypt(message);
const decoded = await cipher.decrypt(encoded);

console.log(encoded);   //G8TFM7phGxppN7ty
console.log(decoded);   //Hello World!

Author

Made with ♥ by fidilen.

FAQs

Package last updated on 01 Nov 2023

Did you know?

Socket

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.

Install

Related posts