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

keyhasher

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keyhasher

```javascript const key = require('keyhasher'); ```

  • 1.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
13
increased by30%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

const key = require('keyhasher');

Features

  • Encrypts data with multiple processes
  • Uses password numbers to Encrypt and Decrypt N

How to use:

  • use 'hash()' function with a Passcode number, and convert any sentence to Hashed format.
  • use 'revHash()' function with the same Passcode number, to get back the Real sentence.
const key = require('keyhasher');

var hashAble = key.hash("Hi", passcode);
console.log(`Hashed Phrase: ${hashAble}`)

// Hashed Phrase: X4A=

var rawWord = key.revHash("X4A=", passcode);
console.log(`Output: ${rawWord}`)

// Real Phrase: Hi

©IndGeek

©Soumya Mondal

Keywords

FAQs

Package last updated on 16 Aug 2022

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