How is this possible? I can't get Ruby to give me the same MD5 as PHP does and can't figure this out... I thought encoding, but it seems I've managed to keep every file in the same format.
PHP Code: (result: bfa7df865d9f4aff62c4643d0e1cb33b)
echo md5("9jdaksjdfosdjsljz91m1wms0zkzd0k0askd1m2l3!@3@#@akskd9");
Ruby Code with Digest-MD5: (result: bd53907a1b47e9a381ee663ec75b59f4)
require 'digest/md5'
puts Digest::MD5.hexdigest("9jdaksjdfosdjsljz91m1wms0zkzd0k0askd1m2l3!@3@#@akskd9")
Ruby Code with HMAC-MD5: (result: d41d8cd98f00b204e9800998ecf8427e)
require 'hmac-md5'
puts HMAC::MD5.new("9jdaksjdfosdjsljz91m1wms0zkzd0k0askd1m2l3!@3@#@akskd9").hexdigest