Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../opt/alt/ruby18/lib64/ruby/1.8
File: md5.rb
# just for compatibility; requiring "md5" is obsoleted
[0] Fix | Delete
#
[1] Fix | Delete
# $RoughId: md5.rb,v 1.4 2001/07/13 15:38:27 knu Exp $
[2] Fix | Delete
# $Id: md5.rb 12007 2007-03-06 10:09:51Z knu $
[3] Fix | Delete
[4] Fix | Delete
require 'digest/md5'
[5] Fix | Delete
[6] Fix | Delete
class MD5 < Digest::MD5
[7] Fix | Delete
class << self
[8] Fix | Delete
alias orig_new new
[9] Fix | Delete
def new(str = nil)
[10] Fix | Delete
if str
[11] Fix | Delete
orig_new.update(str)
[12] Fix | Delete
else
[13] Fix | Delete
orig_new
[14] Fix | Delete
end
[15] Fix | Delete
end
[16] Fix | Delete
[17] Fix | Delete
def md5(*args)
[18] Fix | Delete
new(*args)
[19] Fix | Delete
end
[20] Fix | Delete
end
[21] Fix | Delete
end
[22] Fix | Delete
[23] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function