0

I have the php code for making HMAC md5 encryption

$input = 'foo';
$output = hash_hmac('md5', $input, $secretKey);

After making the hash,is there anyway I could get the $input back to text form.

1 Answers1

1

The difference between encryption (which MD5 is not) and hashing is that hashing is unidirectional. The answer is no.

lafor
  • 12,472
  • 4
  • 32
  • 35