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

kryp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kryp

Very simple encryption methods for strings.

  • 0.4.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

kryp

Simple encode and decode layer for Node.js

<<<<<<< HEAD

installation

npm install

example

======= npm install kryp

2fa23feebb1983bef684675e66333fe776c5487a

  var Kryp = require('kryp');  // takes options object (optional) 
  
  var kryp = new Kryp({
		algorithm = 'AES-256-CFB' // Encryption algorithm
	  , key = 'secretKey' // Encryption key
	  ,	from = 'utf8' // Original encoding
	  ,	to = 'hex' // Conversion encoding
  });
  
  
  var some_string = "I need to be encrypted!!";
  
  var encrypted_string = kryp.encode(some_string);
  
  var decoded_string = kryp.decode(encrypted_string);
  

license

MIT

Keywords

FAQs

Package last updated on 19 Jun 2013

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