Skip to content

Calculate the bit-wise hamming distance of two hex strings or buffers

License

Notifications You must be signed in to change notification settings

mavrick/hamming-distance

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hamming-distance

NPM version Build status Test coverage Dependency Status License Downloads Gittip

Usage

var compare = require('hamming-distance');

var distance = compare(new Buffer('0000', 'hex'), new Buffer('000F', 'hex'));

About

Calculate the bit-wise hamming distance of two hex strings or buffers

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%