sslmdsize
sslmdsize |
Purpose
Synopsis
function sslmdsize(mdalg:string):integer
Argument
mdalg
|
Algorithm to consider
|
Return value
Size of the message digest in bytes or
-1 if the algorithm is not supported.
Further information
This function returns the length (in bytes) of a digest produced by the requested message digest 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