Skip to content

Commit fee033d

Browse files
committed
Use Rex::Text.md5_raw
1 parent 265e0a7 commit fee033d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/rex/proto/kerberos/crypto/rsa_md5.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ module Kerberos
66
module Crypto
77
module RsaMd5
88
def checksum_rsa_md5(data)
9-
md5 = OpenSSL::Digest::MD5.new
10-
md5 << data
11-
12-
md5.digest
9+
Rex::Text.md5_raw(data)
1310
end
1411
end
1512
end

0 commit comments

Comments
 (0)