Name

otrl_privkey_fingerprint — returns the human-readable fingerprint of a given account

Synopsis

string otrl_privkey_fingerprint(ustate,  
 accountname,  
 protocol); 
OtrlUserState ustate;
string accountname;
string protocol;
 

Description

Calculate a human-readable hash of the fingerprint for the local account with the given accountname using the given protocol.

Returns the human-readable hash or raises a LookupError if it couldn't find any matching fingerprint for the given account.