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

class Nettle.Cipher
class Nettle.Cipher.State

Method make_key

string(8bit) make_key()

Description

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

Returns

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

See also

set_encrypt_key