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