Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 386 Bytes

README.md

File metadata and controls

27 lines (14 loc) · 386 Bytes

dvm-crypt-js

Encrypt and Decrypt Alphabetic Strings

Steps:

Install

npm install dvm-crypt-js --save

Usage

  • Import the module

var dvm_crypt = require('dvm-crypt-js');

  • Hash a string

var hash = dvm_crypt.encrypt('David');

  • Decrypt a hash value to its original form

var string = dvm_crypt.decrypt('e2o4e11o28e2');