Method Nettle.BlockCipher16()->OCB.State()->set_encrypt_key()
- Method
set_encrypt_key
this_programset_encrypt_key(string(8bit)key,int|voidflags)- Description
Prepare the cipher and the wrapper for encrypting with the given
key. Thekeymemory 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_decrypt_key(),
set_iv()