New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

package.json
{
"name": "keyhasher",
"version": "1.0.3",
"version": "1.0.4",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -24,8 +24,20 @@

var hashAble = key.hash("Hi", passcode);
var hashAble = key.hash("Normal Sentence", passcode);
console.log(`Hashed Phrase: ${hashAble}`)
var rawWord = key.revHash("Hashed code", passcode);
console.log(`Output: ${rawWord}`)
```
### Example 💡
```javascript
var hashAble = key.hash("Hi", 572);
console.log(`Hashed Phrase: ${hashAble}`)
// Hashed Phrase: X4A=
var rawWord = key.revHash("X4A=", passcode);
var rawWord = key.revHash("X4A=", 572);
console.log(`Output: ${rawWord}`)

@@ -36,4 +48,5 @@

```
[©IndGeek](https://indgeek.com)
[©Soumya Mondal](https://soumyamondal.com)
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