IPWorks Encrypt 2020 PHP Edition

Questions / Feedback?

IV Property

The initialization vector (IV).

Object Oriented Interface

public function getIV();
public function setIV($value);

Procedural Interface

ipworksencrypt_salsa20_get($res, 4 );
ipworksencrypt_salsa20_set($res, 4, $value );

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).

Data Type

Binary String

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