summaryrefslogtreecommitdiffstats
path: root/lib/hamming.go
Commit message (Collapse)AuthorAgeFilesLines
* lib: add KeySizeWithMinDistanceIterrsiddharth2020-09-051-0/+14
| | | | * lib/hamming.go (KeySizeWithMinDistanceIter): New function.
* lib: add KeySizeWithMinDistancersiddharth2020-09-051-0/+23
| | | | * lib/hamming.go (KeySizeWithMinDistance): New function.
* lib: update HammingDistancersiddharth2020-09-051-1/+1
| | | | lib/hamming.go (HammingDistance): Change type of arguments to []byte.
* lib: add genKeyrsiddharth2020-09-051-0/+14
| | | | * lib/hamming.go (genKey): New function.
* lib: add HammingDistancersiddharth2020-09-041-0/+27
* lib/hamming.go (HammingDistance, setBits): New functions.