Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

node-ssha256

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Issues
File Explorer

Advanced tools

node-ssha256

Node module to create ssha256 hashes

    0.1.1latest
    NPM

Version published
Maintainers
1
Weekly downloads
593
decreased by-34.76%

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 installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • 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