public function testMd5() { $crypt = new Crypt\Md5(); $crypt->setSalt('Test Salt'); $this->assertEquals('Test Salt', $crypt->getSalt()); $hash = $crypt->create('12password34'); $this->assertTrue($crypt->verify('12password34', $hash)); }