Method Nettle.BlockCipher16()->GCM.State()->set_iv()
- Method set_iv
this_program
set_iv(string(8bit)
iv
)- Description
Set the initialization vector to
iv
. Theiv
memory will be cleared before released.Also resets all state needed to start a new message.
- Note
For
iv
s of length other than12
, an encryption or decryption key must have been set first.- See also