Documentation ¶ Index ¶ func Hex(n int) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Hex ¶ func Hex(n int) string Hex produces an insecure random number hex encoded to a string of b characters. If b is odd the resultant string won't be valid hex, but will still only contain characters that can appear in a hex encoding. Types ¶ This section is empty. Source Files ¶ View all Source files hex.go Click to show internal directories. Click to hide internal directories.