Package Exports
- secure-hash
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 (secure-hash) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
node-secure-hash
nodejs crypto secure hash collection, just a wrapper of crypto.
Install
npm install secure-hashAPI
class SecureHash {
static md5(data, format='hex');
static sha1(data, format='hex');
static sha256(data, format='hex');
}Usage
SecureHash.sha1('The quick brown fox jumps over the lazy dog')