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


Method set_iv

this_program set_iv(string(8bit) iv)

Description

Set the initialization vector to iv. The iv memory will be cleared before released.

Note

iv must have the length reported by iv_size().

See also

set_encrypt_key(), set_decrypt_key().