Esempio n. 1
0
 public function testSetHashAlgorithm()
 {
     $result = $this->blockCipher->setHashAlgorithm('sha1');
     $this->assertEquals($result, $this->blockCipher);
     $this->assertEquals('sha1', $this->blockCipher->getHashAlgorithm());
 }