Method Nettle.BlockCipher()->CTR.State()->set_decrypt_key()


Method set_decrypt_key

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

Description

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

Note

Note that this operation does not by itself reset the context sufficiently to start a new message; set_iv() needs to be called too.

See also

set_encrypt_key(), set_iv()