Initializing help system before first use

sslivsize

Purpose
Get the size of the initialisation vector (IV) required by a symmetric cipher.
Synopsis
function sslivsize(cipalg:string):integer
Argument
cipalg 
Name of the cipher to consider
Return value
Size of a IV in bytes or -1 if the cipher is not supported.
Example
The following statement generates a random IV for the default cipher algorithm:
sslrandomdata("myiv",sslivsize(""))
Further information
Some encryption algorithms require an initialisation vector (IV) in addition to the encryption key. Like the key, the IV is an array of bytes of a fixed size. This function returns the length (in bytes) of the IV required by a given symmetric cipher algorithm. A return value of -1 indicates an unrecognised algorithm name: this property can be used to check whether a given algorithm is available.
Related topics
Module

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.