LeKoala\Encrypt\EncryptHelper::generateKey
Attempting to pass a key of an invalid size (i.e. not 256-bit) will result in a CryptoOperationException being thrown.
The recommended way to generate a key is to use this method
Signature
public function generateKey()
Returns
- string
- A 64 chars string like 4e1c44f87b4cdf21808762970b356891db180a9dd9850e7baf2a79ff3ab8a2fc