// @codingStandardsIgnoreEnd
$this->assertEquals(
- pack( 'H*', $hash ),
+ hex2bin( $hash ),
MWCryptHash::hash( $data ),
'Raw hash'
);
// @codingStandardsIgnoreEnd
$this->assertEquals(
- pack( 'H*', $hash ),
+ hex2bin( $hash ),
MWCryptHash::hmac( $data, $key ),
'Raw hmac'
);