What pool of characters do MD5 and SHA have?

后端 未结 1 1739
醉梦人生
醉梦人生 2021-02-06 23:12

Does MD5 and SHA only contain alphanumeric characters? (i.e., from A to Z and 0 to 9, or do they exclude some characters?)

相关标签:
1条回答
  • 2021-02-06 23:47

    MD5 and SHA hashes in raw form are binary, however their common representation is a hex-encoded string, which contains characters [a-fA-F0-9].

    So if this is what you meant, then characters G-Z, g-z are "excluded".

    Another, less common, representation is Base64 encoding [0-9a-zA-Z+/].

    0 讨论(0)
提交回复
热议问题