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

math-utils/hamming-distance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 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