mirror of
https://codeberg.org/readeck/readeck.git
synced 2026-06-18 11:04:36 +00:00
As per crypto/rand.Read documentation: Read fills b with cryptographically secure random bytes. It never returns an error, and always fills b entirely. https://pkg.go.dev/crypto/rand@go1.24.4#Read Therefore, there's no need to check for errors or use io.ReadFull.