Socket
Book a DemoInstallSign in
Socket

hash-converter

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hash-converter

``` Generate hashes from string in node and the browser. you can convert from string to SHA-256, MD-5, MD-1 ``` # Example usage

1.0.2
latest
npmnpm
Version published
Weekly downloads
46
-20.69%
Maintainers
1
Weekly downloads
 
Created
Source

Hash-Coverer

Generate hashes from string in node and the browser. you can convert from string to SHA-256, MD-5, MD-1

Example usage

const hash = require('hash-converter');

const sha256 = hash.SHA256('hello-world');
console.log(sha256);  //afa27b44d43b02a9fea41d13cedc2e4016cfcf87c5dbf990e593669aa8ce286d

const sha1 = hash.SHA1('hello-world');
console.log(sha1); // fbb969117edfa916b86dfb67fd11decf1e336df0

const md5 = hash.MD5('hello-world');
console.log(md5); // 2095312189753de6ad47dfe20cbe97ec

const md2 = hash.MD2('hello-world');
console.log(MD2); // d36f37b1678c4b9e82380bf2c95d3de3

License

MIT

Keywords

SHA-256

FAQs

Package last updated on 04 Oct 2020

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.