Commit Graph

2 Commits (66a2f7efc299b435e6e92aaed049f2c3488f962e)

Author SHA1 Message Date
Marcin Kulik 6bc2fd1048 Pad secret token correctly
After converting base 16 (hex) string of length 16 to integer and then to
base 36 we can end up with a shorter string due to implicit zeroes on
leading positions in the intermediate integer. This ensures
"00000000000000000000000000000000", "ffffffffffffffffffffffffffffffff"
and everything in between result in a string of length 25 after converting to
base 36.
10 years ago
Marcin Kulik a30ee0d082 Allow making asciicasts "private" 10 years ago