JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 41132
  • Score
    100M100P100Q176345F
  • License MIT

This is a SHA-1 hash generator by JavaScript.

Package Exports

  • sha-1

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sha-1) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

SHA-1

npm npm NPM

This is a SHA-1 hash generator by JavaScript.

Live Demo

For a live demo, visit: https://linkgod.github.io/SHA-1/

Get started

You can use the package in Node

$ npm install sha-1
var sha1 = require('sha-1');
sha1('hello') // aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d

You can also use bower to install the component:

$ bower install SHA-1
sha1('hello') // aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d

If you use RequireJS

require(['./sha1'], function(sha1){
    sha1('hello'); // aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d
});

License

Licensed under MIT