Enum osshkeys::keys::FingerprintHash [−][src]
pub enum FingerprintHash {
MD5,
SHA256,
SHA512,
}
Expand description
An enum representing the hash function used to generate fingerprint
Used with PublicPart::fingerprint()
to generate different types fingerprint.
Hash Algorithm
MD5: This is the default fingerprint type in older versions of openssh.
SHA2-256: Since OpenSSH 6.8, this became the default option of fingerprint.
SHA2-512: Although not being documented, it can also be used.
Variants
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FingerprintHash
impl Send for FingerprintHash
impl Sync for FingerprintHash
impl Unpin for FingerprintHash
impl UnwindSafe for FingerprintHash
Blanket Implementations
Mutably borrows from an owned value. Read more