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.
我想知道 sha1 或 md5 是否在 base32 或 base64 中生成字符串?
因为当临时生成的密码过期时,我需要将数据库中的密码乘以特定日期,
或其他技术将它们保存在会话 cookie 中
两者都不。默认情况下,该值以 HEX 表示法(16 个字符的字母)返回。这根本与任何 base* 编码无关。