Skip to main content

key_fingerprint

Function key_fingerprint 

Source
pub fn key_fingerprint(auth_key: &[u8; 256]) -> i64
Expand description

Compute the 64-bit key_fingerprint: the last 8 bytes of SHA1(auth_key), read as a little-endian i64.

This is a sanity check on the key exchange, not the key visualization shown to users.