You are here

function Braintree_DigestTest::testHexDigest_again in Commerce Braintree 7

File

braintree_php/tests/unit/DigestTest.php, line 15

Class

Braintree_DigestTest

Code

function testHexDigest_again() {
  Braintree_Configuration::privateKey(str_repeat(chr(0xaa), 80));
  $message = 'Test Using Larger Than Block-Size Key and Larger Than One Block-Size Data';
  $d = Braintree_Digest::hexDigest($message);
  $this
    ->assertEquals('e8e99d0f45237d786d6bbaa7965c7808bbff1a91', $d);
}