Class: Rex::Proto::Kerberos::Crypto::RsaMd5

Inherits:
Object
  • Object
show all
Defined in:
lib/rex/proto/kerberos/crypto/rsa_md5.rb

Instance Method Summary collapse

Instance Method Details

#checksum(key, msg_type, data) ⇒ String

The MD5 checksum of the data

Parameters:

  • key (String)

    ignored for this checksum type

  • msg_type (Integer)

    ignored for this checksum type

  • data (String)

    the data to checksum

Returns:

  • (String)

    the generated checksum



14
15
16
# File 'lib/rex/proto/kerberos/crypto/rsa_md5.rb', line 14

def checksum(key, msg_type, data)
  Rex::Text.md5_raw(data)
end