Esempio n. 1
0
 public function testBlockSize()
 {
     $cipher = new \CryptLib\Cipher\Block\Cipher\AES('aes-128');
     $this->assertEquals(16, $cipher->getBlockSize());
     $cipher = new \CryptLib\Cipher\Block\Cipher\AES('aes-256');
     $this->assertEquals(16, $cipher->getBlockSize());
 }