我想在Ruby on rails上计算'输入字段值'的32位CRC值。需要示例代码,请帮助我任何人。
You could use Ruby's Zlib module.
require 'zlib'
crc32 = Zlib::crc32('input field value')
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.