IPWorks Encrypt 2020 Java Edition

Questions / Feedback?

IV Property

The initialization vector (IV).

Syntax

public byte[] getIV();
public void setIV(byte[] IV);

Default Value

""

Remarks

This property specifies the initialization vector (IV). This is also referred to as the nonce. By default this property is empty and the class will automatically generate a new IV value if KeyPassword or Key is set before Encrypt or EncryptBlock is called.

XSalsa Notes:

When Algorithm is set to XSalsa the length of the IV must be 192 bits in length (24 bytes).

Salsa Notes:

When Algorithm is set to Salsa the length of the IV must be 64 bits in length (8 bytes).

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Encrypt 2020 Java Edition - Version 20.0 [Build 8155]