1.0.0 • Published 4 years ago

sha-1 v1.0.0

Weekly downloads
11,371
License
MIT
Repository
github
Last release
4 years ago

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