var compare = require('hamming-distance');
var distance = compare(new Buffer('0000', 'hex'), new Buffer('000F', 'hex'));
-
Notifications
You must be signed in to change notification settings - Fork 4
Calculate the bit-wise hamming distance of two hex strings or buffers
License
math-utils/hamming-distance
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Calculate the bit-wise hamming distance of two hex strings or buffers
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published