Skip to content

telehash/hashname

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Hashname - Multi-Key Fingerprints in Javascript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published