JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q20270F
  • License MIT

Public-Key(s) Fingerprint Generator

Package Exports

  • hashname

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 (hashname) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.