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

cryptr

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cryptr

a simple encrypt and decrypt module for node.js

  • 6.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
100K
decreased by-17.17%
Maintainers
1
Weekly downloads
 
Created

What is cryptr?

Cryptr is a simple encryption and decryption library for Node.js. It uses the AES-256-GCM algorithm to securely encrypt and decrypt strings.

What are cryptr's main functionalities?

Encryption

This feature allows you to encrypt a string using a secret key. The encrypted string can be safely stored or transmitted.

const Cryptr = require('cryptr');
const cryptr = new Cryptr('myTotallySecretKey');
const encryptedString = cryptr.encrypt('myString');
console.log(encryptedString);

Decryption

This feature allows you to decrypt a previously encrypted string using the same secret key. The decrypted string is the original plaintext.

const Cryptr = require('cryptr');
const cryptr = new Cryptr('myTotallySecretKey');
const decryptedString = cryptr.decrypt(encryptedString);
console.log(decryptedString);

Other packages similar to cryptr

Keywords

FAQs

Package last updated on 04 Sep 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