hashname

0.3.1 • Public • Published

Hashname - A fingerprint for multiple public keys (in pure javascript)

This module will generate and parse hashnames, base32 encoded consistent fingerprint strings from one or more public keys.

Install: npm install hashname

Primary usage:

var hashname = require('hashname');
var keys = {
  "3a":"hp6yglmmqwcbw5hno37uauh6fn6dx5oj7s5vtapaifrur2jv6zha",
  "1a":"vgjz3yjb6cevxjomdleilmzasbj6lcc7"
};
var hn = hashname.fromKeys(keys));
// hn will be 'jvdoio6kjvf3yqnxfvck43twaibbg4pmb7y3mqnvxafb26rqllwa'

There's additional convenience methods and base32/siphash utilities exported, see the examples in the tests.

Package Sidebar

Install

npm i hashname

Weekly Downloads

13

Version

0.3.1

License

MIT

Last publish

Collaborators

  • quartzjer