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

easy-crypto

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

easy-crypto

A WIP module aimed at providing a safer, easier to use and beginner friendly crypto API for Node.js

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

easy-crypto

A WIP module aimed at providing a safer, easier to use and beginner friendly crypto API for Node.js

Goals

  1. Make crypto easy to use.
  2. Make crypto safe to use.
  3. Require as little crypto-specific knowledge as possible.

Features/Roadmap

  • Symmetric Encryption, Decryption and AEAD
  • Asymmetric Encryption and Decryption
  • Asymmetric Signing and Verification of signatures
  • Cryptographic hashing
  • Password-based key derivation
  • Password hashing and verification
  • Random number generation

Installation

$ npm install easy-crypto

Usage

Importing the module itself will return undefined since the behavior of the entire module is broken down into a set of intent-based submodules.

const password = require('easy-crypto/password');

const hashedPassword = password.hashPasswordSync('correct horse battery staple');
fs.writeFileSync('myfile', hashedPassword); // Ideally, store it in a database.

For an exhaustive list of all submodules and their members, check out the API docs

License

MIT

Copyright (c) 2019 Ujjwal Sharma

Notice

This module is currently a work-in-progress. Please do not use it in production until before the 1.0.0 release since the API may break or might as well be outright unusable to unsafe.

Keywords

FAQs

Package last updated on 02 Feb 2019

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