Neos\Flow\Tests\Unit\Security\Cryptography\HashServiceTest::appendHmacAppendsHmacToGivenString PHP 메소드

appendHmacAppendsHmacToGivenString() 공개 메소드

    public function appendHmacAppendsHmacToGivenString()
    {
        $string = 'This is some arbitrary string ';
        $hashedString = $this->hashService->appendHmac($string);
        $this->assertSame($string, substr($hashedString, 0, -40));
    }