class OpenSSL::PKey::PKey

  1. lib/net/ssh/transport/openssl.rb
Parent: PKey

Methods

Public Instance

  1. fingerprint

Public Instance methods

fingerprint ()
[show source]
# File lib/net/ssh/transport/openssl.rb, line 30
def fingerprint
  @fingerprint ||= OpenSSL::Digest::MD5.hexdigest(to_blob).scan(/../).join(":")
end