1# -*- coding: binary -*- 2 3module Rex 4 module Proto 5 module Kerberos 6 module Crypto 7 class RsaMd5 8 # The MD5 checksum of the data 9 # 10 # @param key [String] ignored for this checksum type 11 # @param msg_type [Integer] ignored for this checksum type 12 # @param data [String] the data to checksum 13 # @return [String] the generated checksum 14 def checksum(key, msg_type, data) 15 Rex::Text.md5_raw(data) 16 end 17 end 18 end 19 end 20 end 21end 22 23