summaryrefslogtreecommitdiffstats
path: root/lib/hamming.go
Commit message (Collapse)AuthorAgeFilesLines
* update name in copyrightsiddharth ravikumar2022-05-231-1/+1
| | | | Use full name.
* copyright: rsiddharth -> siddharthsiddharth2021-11-201-1/+1
|
* lib: remove genKeyrsiddharth2020-09-061-14/+0
| | | | * lib/hamming.go (genKey): Remove function.
* lib: update KeySizeWithMinDistancersiddharth2020-09-061-3/+3
| | | | | | * lib/hamming.go (KeySizeWithMinDistance): Add argument 'bs'. Use first K bytes and next K bytes of 'bs' for 'p' and 'q'.
* lib: remove KeySizeWithMinDistanceIterrsiddharth2020-09-061-15/+0
|
* 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.