RandomHexString returns the requested number of bytes from crypto/rand as lowercase hexadecimal, so callers reaching for a token do not end up using the predictable math/rand instead. Comes with a doc comment and table-driven tests. (closes #13) Model: opus-5
1.3 KiB
1.3 KiB