Skip to content
This is a SHA-1 hash generator by JavaScript.
Branch: master
Clone or download
linkgod Merge pull request #5 from kbialowas/master
Removed typeof statement, that was root cause of problem with imports.
Latest commit f13a50f Aug 29, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig
LICENSE
README.md
bower.json
package.json
sha1.js

README.md

SHA-1

This is a SHA-1 hash generator by JavaScript.

Get started

You can use bower to install the component:

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

If you use RequireJS

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

You can also use the package in Node

$ npm install sha-1
$ node
> sha1 = require('./sha1')
{ [Function] sha1: [Circular] }
> sha1('hello')
'aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d'

License

Licensed under MIT

You can’t perform that action at this time.