otr

Off the record implementation purely in OCaml
IN THIS PACKAGE
Module Otr . Utils

Fingerprint Utilities

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

val their_fingerprint : State.session -> string option

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

val own_fingerprint : Mirage_crypto_pk.Dsa.priv -> string

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