I have a use case to send the hashcode of the payload along with the payload in the request.
My Client is Ruby but Servers are both Rails and Node.
What is the best way to create a hash code for the payload (any Ruby HashMap)?
How can I create the same hashcode on the other server?
>> x = {:name=>"John", :age=>30, :cars=>{:car1=>"Ford", :car2=>"BMW", :car3=>"Fiat"}}
>> x.hash
-4250725627701565010
JSON.stringify