/** * Tests Crypt->setAlgorithm() */ public function testSetAlgorithm() { // Set algorithm $this->crypt->setAlgorithm(MCRYPT_RIJNDAEL_256); // Reset to old algo $this->crypt->setAlgorithm(MCRYPT_BLOWFISH); }