| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* lib/hamming.go
(KeySizeWithMinDistance): Add argument 'bs'. Use first K bytes and
next K bytes of 'bs' for 'p' and 'q'.
|
| |
|
|
|
|
| |
* lib/hamming.go (KeySizeWithMinDistanceIter): New function.
|
|
|
|
| |
* lib/hamming.go (KeySizeWithMinDistance): New function.
|
|
|
|
| |
lib/hamming.go (HammingDistance): Change type of arguments to []byte.
|
|
|
|
| |
* lib/hamming.go (genKey): New function.
|
|
* lib/hamming.go (HammingDistance, setBits): New functions.
|