Initialization Vector generator.
The .wrap() method creates an LLEncrypt.Key or LLEncrypt that generates an IV for each message before encryption, and updates the internal state of this class after encryption. Typically, a separate IVGen instance should be used for each key.
If a message passed for encryption already has an IV associated, it would bypass this class: in that case, the IV is not checked and the internal state is not updated.
Generate IV for next message.
Update internal state after a message is encrypted..
Generated using TypeDoc