pombreda / scalr

Automatically exported from code.google.com/p/scalr
0 stars 0 forks source link

make mhash() not a requirement #30

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. php without mhash compiled in
2. ./src/LibWebta/library/Security/Crypto/class.Crypto.php
3.

What is the expected output? What do you see instead?
no change

What version of the product are you using? On what operating system?
Any PHP version without mhash compiled in

Please provide any additional information below.
If the following command are the same then please consider not using mhash() as 
many 
precompiled php distributions don't include it, e.g. MAMP PRO.

$hash = mhash(MHASH_SHA256, $input);
$hash = hash('sha256', $input);

Original issue reported on code.google.com by andy%txm...@gtempaccount.com on 19 May 2010 at 9:26

GoogleCodeExporter commented 9 years ago

Original comment by dicsydel@gmail.com on 4 Nov 2010 at 2:46