1.0.6 • Published 10 years ago

nx-url-hash v1.0.6

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
10 years ago

URL-HASH

Utility to easily generate hashes from URL's

Current configuration is coded to use SHA-1 and HEX encoding, future updates will enable users to easily configure this.  


Installation

npm install nx-url-hash [--save]

Usage

var URLHash = require('nx-url-hash');
var urlHash = new URLHash({
	key: [YourKey][Optional],
	algorithm: [Any Algorithm supported by NodeJS's Crypto Lib] [Default: SHA1] [Optional],
	encoding: [Any Encoding supported by NodeJS's Crypto Lib] [Default: HEX] [Optional],
})
var hash = urlHash.hash(URL_TO_ENCODE);

Author

Peter Andreas Moelgaard (GitHub, Twitter)

License

Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago