什么样的哈希算法用于生成12个字符长度的字母数字?

时间:2010-05-07 08:25:29

标签: algorithm hash

用什么样的哈希算法生成12个字符长度的字母数字?

例如stackoverflow使用2个密钥来存储cookie

t=IhweorwSw6K7
s=............  (#intentionally replace with . because its a session cookies)

该哈希算法如何?

1 个答案:

答案 0 :(得分:3)

“每个都是base64编码的128位(可能是随机的)数字,尾随==已删除。”

来自:https://meta.stackexchange.com/questions/12047/what-are-the-s-and-t-parameters-in-the-user-cookie-used-by-stackoverflow

可能。

相关问题