_elcaro_ The OpenSSL lib also provides bindings to all the digests that openssl provides perl use OpenSSL::Digest::MD5 my $md5 = OpenSSL::Digest::MD5.new $md5.add("password123").hex # OUTPUT: 482c811da5d5b4bc6d497ffa98491e38 00:28