Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

logickcrypt

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logickcrypt

Easily encrypt and decrypt sensitive info for safe storeage

  • 1.0.4
  • latest
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

logickcrypt

logickcrypt is a lightweight JavaScript library that provides encryption and decryption functions using a custom encryption algorithm based on the Logick principle.

Installation

You can install logickcrypt via npm:

npm install logickcrypt

Usage

To use logickcrypt in your JavaScript project, require the package and use its functions as shown in the example below:

const logickcrypt = require('logickcrypt');

// Encrypt a message
const encryptedMessage = logickcrypt.encrypt('Hello, world!');

// Decrypt the encrypted message
const decryptedMessage = logickcrypt.decrypt(encryptedMessage);

console.log(decryptedMessage); // Output: Hello, world!

API

The logickcrypt package exposes the following functions:

encrypt(message)
//Encrypts the provided message using a salted encryption algorithm and returns the encrypted result.

message (string): The message to encrypt.
decrypt(encryptedMessage)
//Decrypts the provided encryptedMessage using the same salted encryption algorithm and returns the decrypted result.

encryptedMessage (string): The encrypted message to decrypt.

Keywords

FAQs

Package last updated on 03 Jul 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc