sslkeysize
sslkeysize |
Purpose
Synopsis
function sslkeysize(cipalg:string):integer
Argument
cipalg
|
Name of the cipher to consider
|
Return value
Size of a key in bytes or
-1 if the cipher is not supported.
Further information
This function returns the length (in bytes) of an encryption key required by a given symmetric cipher algorithm. A return value of
-1 indicates that the algorithm name has not been recognised: this property can be used to check whether a given algorithm is available.
Related topics
Module