diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/blocks.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/blocks.go b/lib/blocks.go index e817e6f..d13b107 100644 --- a/lib/blocks.go +++ b/lib/blocks.go @@ -23,7 +23,7 @@ func BreakIntoBlocks(cb []byte, keysize int) [][]byte { blocks[k][j] = cb[i] j += 1 - if j == 8 { + if j == keysize { j = 0 k += 1 } |