You don't need to `base64_encode`, since `md5` returns a hexadecimal number which is already ASCII.