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.
我应该为 MD5 散列编写一个包装函数,将 MD5 的输入和输出大小限制为 20 位。(所有超出的输出位都被丢弃)。如何才能做到这一点?
value20Bits = value24Bits & 0xfffff;? 还是其他面具?
value20Bits = value24Bits & 0xfffff;