Class: OpenSSL::PKey::PKey

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

Instance Method Summary collapse

Instance Method Details

#fingerprintObject


31
32
33
# File 'lib/net/ssh/transport/openssl.rb', line 31

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