Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In PHP, what is the difference between hash and mhash?

Tags:

php

hash

I'm wondering what is the difference between the hash extension and the mhash extension?

When should I choose one over another and why?

like image 469
Alix Axel Avatar asked Jan 04 '10 00:01

Alix Axel


2 Answers

Never mind, I just saw this on the mhash Introduction.

Note: This extension is obsoleted by Hash.

like image 132
Alix Axel Avatar answered Oct 13 '22 11:10

Alix Axel


Mhash manual:

This extension is obsoleted by Hash.

like image 37
torger Avatar answered Oct 13 '22 12:10

torger