Hi,
See for example Digest::SHA.
Hope this helps!
In reply to Re: How to hash a string--not data structure by 1nickt in thread How to hash a string--not data structure by cormanaz