3 * To change this template, choose Tools | Templates
4 * and open the template in the editor.
5 * @version Build @@version@@
8 namespace CryptLib\Key
;
11 * Description of generator
16 interface Generator
extends Key
{
18 public static function test();
20 public function __construct(array $options = array());
23 * Generate a key of the supplied size
25 * @param Strength $strength The strength of the generated key
26 * @param int $size The size of the generated key (in bytes)
27 * @param string $passPhrase The passphrase to encrypt the key with
31 public function generate(
32 \CryptLib\Core\Strength
$strength,