Socket
Socket
Sign inDemoInstall

cryptorjs

Package Overview
Dependencies
0
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cryptorjs

Encrypt and decrypt string using a key


Version published
Weekly downloads
93
decreased by-19.83%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Cryptor

Encrypt and decrypt string using a key

Example

const cryptor = require('cryptor');

const myCryptor = new cryptor('yourSecretKey')
var secretMessage = myCryptor.encode('myExampleString');
// => '903395757905e0645fdf3e168dc0b7'

var decodedMessage = myCryptor.decode('903395757905e0645fdf3e168dc0b7');
// => 'myExampleString'

Keywords

FAQs

Last updated on 21 May 2017

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc