nolint:unparam // This always receives 20, but we want the option to do more or less if needed.
(n int)
| 62 | |
| 63 | //nolint:unparam // This always receives 20, but we want the option to do more or less if needed. |
| 64 | func randomBytes(n int) []byte { |
| 65 | rv := make([]byte, n) |
| 66 | |
| 67 | if _, err := io.ReadFull(RandReader, rv); err != nil { |
| 68 | panic(err) |
| 69 | } |
| 70 | return rv |
| 71 | } |
no outgoing calls