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.
我在这里看到了一些关于 CRC 32 计算的其他问题。但没有一个让我满意,因此。
openssl 库是否有任何用于计算 CRC32 的 api 支持?我已经将 openssl 用于 SHA1,因此我更愿意使用它而不是链接到另一个用于 CRC32 的库中(我的实现是在 C 中)。
谢谢。
不,OpenSSL 不包含 CRC32 代码。
但是,zlib这是一个非常常见的库。尝试在http://www.zlib.net/manual.html中搜索“crc32”
zlib