Pike v8.0 release 1738

Method Nettle.AEAD()->State()->make_key()


Method make_key

string(8bit) make_key()

Description

Generate a key by calling Crypto.Random.random_string and initialize this object for encryption with that key.

Returns

The generated key. The key memory will be cleared before released.

See also

set_encrypt_key