Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
似乎大多数哈希(通常在 base16/hex 中)可以很容易地以无损方式在 base32 中表示,从而产生更短(并且更容易阅读)的哈希字符串。
我知道幼稚的实现可能会混合“O”、“0”、“1”和“I”,但可以轻松选择字母字符而不会出现此类问题。还有足够的字符来保持哈希不区分大小写。我知道存在更短的哈希算法(如 crc32),但这个想法也可以应用于更短的哈希算法。
那么,为什么大多数(如果不是全部)散列算法实现不以 base32 输出,或者至少提供这样做的选项?