Class: OpenSSL::PKey::PKey

Inherits:
Object
  • Object
show all
Defined in:
lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/openssl.rb

Instance Method Summary collapse

Instance Method Details

#fingerprintObject



30
31
32
# File 'lib/tpkg/thirdparty/net-ssh-2.1.0/lib/net/ssh/transport/openssl.rb', line 30

def fingerprint
  @fingerprint ||= OpenSSL::Digest::MD5.hexdigest(to_blob).scan(/../).join(":")
end