Module Otr.Utils

module Utils: sig .. end

Utilities


Fingerprint Utilities

An OTR fingerprint is the `SHA1 hash of the public key prepended with the key type.

val their_fingerprint : Otr.State.session -> string option

their_fingerprint session is fp, the fingerprint of the communication partner (None if no session is established).

val own_fingerprint : Nocrypto.Dsa.priv -> string

own_fingerprint dsa is fp, the fingerprint of the private DSA key.