OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
reader
/
znew1aws-ses
/
vendor
/
aws
/
aws-sdk-php
/
tests
/
Crypto
/
Polyfill
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/16/2024 08:32:31 AM
rwxr-xr-x
📄
AesGcmTest.php
163.76 KB
08/16/2024 08:32:32 AM
rw-r--r--
📄
ByteArrayTest.php
4 KB
08/16/2024 08:32:32 AM
rw-r--r--
📄
GmacTest.php
524 bytes
08/16/2024 08:32:32 AM
rw-r--r--
📄
KeyTest.php
1.02 KB
08/16/2024 08:32:32 AM
rw-r--r--
Editing: GmacTest.php
Close
<?php namespace Aws\Test\Crypto\Polyfill; use Aws\Crypto\Polyfill\Gmac; use Aws\Crypto\Polyfill\Key; use PHPUnit\Framework\TestCase; /** * Class GmacTest * @covers Aws\Test\Crypto\Polyfill */ class GmacTest extends TestCase { public function testConstructor() { $key = new Key(str_repeat("\xff", 32)); $hash = new Gmac( $key, str_repeat("\x00", 15) . "\x01", 256 ); $this->assertInstanceOf(Gmac::class, $hash); } }