Skip to main content

fingerprint

Function fingerprint 

Source
pub fn fingerprint(public: &PublicKey, hash: HashAlg) -> String
Expand description

Returns the OpenSSH-style fingerprint string for a public key.

Uses SHA256:<base64> — the format OpenSSH has emitted by default since version 6.8 (2015).