How to calculate 32 bit CRC in Ruby on rails?
11,732
You could use Ruby's Zlib module.
require 'zlib'
crc32 = Zlib::crc32('input field value')
![Jeyavel](https://i.stack.imgur.com/7E962.jpg?s=256&g=1)
Author by
Jeyavel
i am doing coding C#.net, ASP.net, SQL Server, Ruby on rails, Angular JS , C++
Updated on June 02, 2022Comments
-
Jeyavel about 2 years
i want to calculate 32 bit CRC value for 'input field value" in Ruby on rails. need the sample code , please help me anyone.