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));
    }