Create md5 calculation for Ruby