Adding support for MD5 hashing to security algorithms