Lines Matching refs:content
8 $content = "This is a sample string used to test the hash_hmac function with various hashing algori…
11 echo "gost: " . hash_hmac('gost', $content, $key) . "\n";
12 echo "haval128,3: " . hash_hmac('haval128,3', $content, $key) . "\n";
13 echo "md2: " . hash_hmac('md2', $content, $key) . "\n";
14 echo "md4: " . hash_hmac('md4', $content, $key) . "\n";
15 echo "md5: " . hash_hmac('md5', $content, $key) . "\n";
16 echo "ripemd128: " . hash_hmac('ripemd128', $content, $key) . "\n";
17 echo "ripemd160: " . hash_hmac('ripemd160', $content, $key) . "\n";
18 echo "ripemd256: " . hash_hmac('ripemd256', $content, $key) . "\n";
19 echo "ripemd320: " . hash_hmac('ripemd320', $content, $key) . "\n";
20 echo "sha1: " . hash_hmac('sha1', $content, $key) . "\n";
21 echo "sha256: " . hash_hmac('sha256', $content, $key) . "\n";
22 echo "sha384: " . hash_hmac('sha384', $content, $key) . "\n";
23 echo "sha512: " . hash_hmac('sha512', $content, $key) . "\n";
24 echo "snefru: " . hash_hmac('snefru', $content, $key) . "\n";
25 echo "tiger192,3: " . hash_hmac('tiger192,3', $content, $key) . "\n";
26 echo "whirlpool: " . hash_hmac('whirlpool', $content, $key) . "\n";
27 echo "md5(raw): " . bin2hex(hash_hmac('md5', $content, $key, TRUE)) . "\n";
28 echo "sha256(raw): " . bin2hex(hash_hmac('sha256', $content, $key, TRUE)) . "\n";