Socket
Socket
Sign inDemoInstall

node-ssha256

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-ssha256

Node module to create ssha256 hashes


Version published
Maintainers
1
Weekly downloads
451
decreased by-27.26%
Install size
3.22 kB

Weekly downloads

Readme

Source

node-ssha256

Node Module to create ssha256 hashes

Installation

npm install node-ssha256

Usage

Create a base64 encoded hash

var ssha256 = require('node-ssha256');
message = "hallo"
hash = ssha256.create(message);

Check if message matches hash

var ssha256 = require('node-ssha256');
message = "hallo"
hash = "{SSHA256}WosKbpN2dI/q4/wtG5AW82jFPeFNqXGbSfmd/ooJrRpiYWVh"
if(ssha256.check(message)) {
    // message matched
} else {
    // not matching
}

Keywords

FAQs

Last updated on 07 Feb 2014

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc