RSAfingerprint
RSAfingerprint |
Purpose
Synopsis
function RSAfingerprint(key:array(range) of integer):text
function RSAfingerprint(key:array(range) of integer, mdalg:string):text
function RSAfingerprint(kfile:string):text
Arguments
key
|
RSA key in the form of an array of integer
|
kfile
|
File containing the key
|
mdalg
|
Name of the digest algorithm to use (default: MD5)
|
Return value
Fingerprint as a text string of hexadecimal digits.
Further information
1. By default
mmssl uses an MD5 hash of the public part of the RSA key as its fingerprint. Unless another digest algorithm is selected, the return value of this function is therefore a text string of 32 hexadecimal digits that characterises a given key.
2. The function can process both public and private keys either directly from a key file or from an array of integers (as produced by
RSAloadkey or
RSAgenkey).
Related topics
Module