Socket
Socket
Sign inDemoInstall

sha1

Package Overview
Dependencies
2
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    sha1

function for hashing messages with SHA-1


Version published
Maintainers
1
Install size
14.2 kB
Created

Readme

Source

sha1 is a function for hashing messages with SHA-1.

Example

var sha1 = require('sha1');

console.log(sha1("message"));

This will print:

6f9b9af3cd6e8b8a73c2cdced37fe9f59226e27d

FAQs

Last updated on 18 Sep 2011

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