cipherhash

1.0.4 • Public • Published

cipherHash

Custom Encryption Algrothim

How to Install

npm i cipherhash

How to Use

// Load the module
var c = require("cipherhash");

// Encrypt a String

c.cipherHash("message", "password");

>>> "30A1Dd4XQawUdz"

// Decrypt a String

c.UnCipherHash("30A1Dd4XQawUdz", "password");

>>> "message"

// Get a Base64 Hash of a String

c.hash("string");

>>> "473287f8298dba7163a897908958f7c0eae733e25d2e027992ea2edc9bed2fa8"

This is a super simple library that's made mainly for personal use, but feel free to use it!

Readme

Keywords

none

Package Sidebar

Install

npm i cipherhash

Weekly Downloads

12

Version

1.0.4

License

MIT

Unpacked Size

8.01 kB

Total Files

3

Last publish

Collaborators

  • m-a-s-o-n