module Net::SSH::Transport::Kex::Curve25519Sha256Loader

def self.dependenciesRequiredForX25519

def self.dependenciesRequiredForX25519
  result = "net-ssh requires the following gems for x25519 support:\n"
  result << " * x25519\n"
end

def self.raiseUnlessLoaded(message)

def self.raiseUnlessLoaded(message)
  description = ERROR.is_a?(LoadError) ? dependenciesRequiredForX25519 : ''
  description << "#{ERROR.class} : \"#{ERROR.message}\"\n" if ERROR
  raise NotImplementedError, "#{message}\n#{description}" unless LOADED
end