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