Kelunik\Acme\KeyGenerator interfaceKeyGenerator

Key generator interface to generate RSA keys.

Summary

Properties

Methods

Methods

generate —public functiongenerate(int$bits):Kelunik\Acme\KeyPair

Generates a new key pair with the given length in bits.

Type Parameter Description Default Value
int $bits length of the key none