3 ms·
> meaning 13 a-z0-9 characters are sufficient to encode any 64-bit number. Heh, you really should think about this for a minute... as eight hexadecimal (0-9a-
by jlgaddis 13y ago
> meaning 13 a-z0-9 characters are sufficient to encode any 64-bit number.
Heh, you really should think about this for a minute... as eight hexadecimal (0-9a-f) characters are sufficient to encode any 64-bit number.
- sillysaurus2 13y ago>>> hex(random.randint(0, 2**32)) '0x56dee53b' >>> hex(random.randint(0, 2**64)) '0xedcadadd7a7a8cdfL' A 64-bit number is going to look like edcadadd7a7a8cdf, which has 16 characters for humans to read, not 8.
- cbhl 13y agoIIRC, IPv6 addresses were 128-bit numbers?
- deleted 13y ago[deleted]