http://qs1969.pair.com?node_id=11151720


in reply to How to hash a string--not data structure

See for example Digest::SHA, which is a core module.