sha1-regex
v1.0.0
Published
see if a string is a sha-1 hash
Downloads
16
Readme
sha1-regex
sha1-regex is a regular expression that matches hex-encoded sha-1 hashes.
install
$ npm install sha1-regex
example
var sha1 = require('sha1-regex')
sha1.test('17413f944145f37dcaa9bc55d9a201a248a08aae')
> true
sha1.test('nope')
> false