Method Nettle.BlockCipher()->CBC.State()->set_encrypt_key()

class Nettle.BlockCipher
class Nettle.BlockCipher.CBC.State

Method set_encrypt_key

this_program set_encrypt_key(string(8bit) key, int|void flags)

Description

Prepare the cipher and the wrapper for encrypting with the given key. The key memory will be cleared before released.