fix random length

This commit is contained in:
patterniha 2025-07-10 12:30:09 +03:30
parent b7895a0526
commit 94916113d2

View file

@ -9,6 +9,7 @@ import (
func (c *Control) FillInRandom() {
randomLength := dice.Roll(64)
randomLength++
c.Random = make([]byte, randomLength)
io.ReadFull(rand.Reader, c.Random)
}