xor-distance
Calculate the xor distance between two buffers as a new buffer and compare computed distances with eachother
npm install xor-distance
Usage
var distance =var dist1 =var dist2 =// the following returns true since the distance between foo and bar// is greater than the distance between foo and bazconsole
License
MIT