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.
我想在 Ruby on rails 中计算“输入字段值”的 32 位 CRC 值。需要示例代码,请帮助我。
您可以使用 Ruby 的 Zlib 模块。
require 'zlib' crc32 = Zlib::crc32('input field value')