Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
a native js function for hashing messages with the SHA-1 algorithm
JavaScript
tree: b9a44a835d

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.npmignore
LICENSE.mkd
README.mkd
package.json
sha1.js
test.js

README.mkd

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

Example

var sha1 = require('sha1');

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

This will print:

6f9b9af3cd6e8b8a73c2cdced37fe9f59226e27d
Something went wrong with that request. Please try again.