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.
我有一个无符号长整数(8 字节),它保证为 17 位,我希望它存储在 int(4 字节)中,最大为 9 位。基本上我想加密或压缩号码,以便我可以在不丢失任何信息的情况下检索号码。
事实证明这是不可能的。参见鸽笼原理。