ncrypt

1.0.7 • Public • Published

NCRYPT

A Small library to encrypt any string

Installation

npm install ncrypt --save

Usage

var ncrypt = require('ncrypt') 

var encrypted_data = ncrypt.encr(data)

console.log(encrypted_data)

* data mentioned must be string type

Tests

npm test

Examples

console.log(encrypt.encr("abc")) \\%>&1&1Z&O

console.log(encrypt.encr("abcd")) \\&&&XQV&&[E2E0&&&&

console.log(encrypt.encr("abcde")) \\&-&

Contributing

An easy and efficient way to encrypt data . Only one way encryption is provided using the encr() function;

Release History

  • 0.1.0 Initial release

Dependencies (0)

    Dev Dependencies (5)

    Package Sidebar

    Install

    npm i ncrypt

    Weekly Downloads

    4

    Version

    1.0.7

    License

    ISC

    Last publish

    Collaborators

    • abdghani