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

class Nettle.BlockCipher
class Nettle.BlockCipher.IGE.State

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

IGE semantically has two initialization vectors of size block_size(); x0 (previous plaintext) and y0 (previous ciphertext). They are here concatenated to a single initialization vector of double the block size.