package otr

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Utilities

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 : Nocrypto.Dsa.priv -> string

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