sha512hmac() public static méthode

http://us1.php.net/manual/en/function.hash-hmac.php
public static sha512hmac ( string $data, string $key ) : string
$data string
$key string
Résultat string
Exemple #1
0
 public function testSha512Hmac()
 {
     $data = array(array('data', 'key', '3c5953a18f7303ec653ba170ae334fafa08e3846f2efe317b87efce82376253cb52a8c31ddcde5a3a2eee183c2b34cb91f85e64ddbc325f7692b199473579c58'));
     foreach ($data as $datum) {
         $this->assertSame($datum[2], Util::sha512hmac($datum[0], $datum[1]));
     }
 }