Fixed md5 crypt function