1998-01-16 07:13:05 -05:00
|
|
|
|
.\" md5.doc - -*- Indented-Text -*- created at: Fri Aug 2 12:01:27 JST 1996
|
|
|
|
|
|
|
|
|
|
** MD5(<28><><EFBFBD>饹)
|
|
|
|
|
|
|
|
|
|
RFC1321<EFBFBD>˵<EFBFBD><EFBFBD>Ҥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD><EFBFBD>RSA Data Security, Inc. <20><> MD5 Message-Digest
|
|
|
|
|
Algorithm<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>륯<EFBFBD>饹<EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
SuperClass: Object
|
|
|
|
|
|
|
|
|
|
Class Methods:
|
|
|
|
|
|
|
|
|
|
new([str])
|
|
|
|
|
md5([str])
|
|
|
|
|
|
|
|
|
|
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MD5<44><35><EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><C8A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>롥ʸ<EBA1A5><CAB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϳ<EFBFBD><CDBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><C8A4><EFBFBD>
|
|
|
|
|
<20><><EFBFBD>ɲä<C9B2><C3A4><EFBFBD>(see update)<29><>
|
|
|
|
|
|
|
|
|
|
Methods:
|
|
|
|
|
|
|
|
|
|
clone
|
|
|
|
|
|
|
|
|
|
MD5<44><35><EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD>ʣ<EFBFBD><CAA3><EFBFBD><EFBFBD><EFBFBD><EFBF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|
|
|
|
ret = ''
|
|
|
|
|
digest.each_byte {|i| ret << sprintf('%02x', i) }
|
|
|
|
|
ret
|
|
|
|
|
end
|
|
|
|
|
|
1998-01-16 07:13:05 -05:00
|
|
|
|
update(str)
|
|
|
|
|
|
1999-08-13 01:37:52 -04:00
|
|
|
|
MD5<44><35><EFBFBD>֥<EFBFBD><D6A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD>ʸ<EFBFBD><CAB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɲä<C9B2><C3A4>롣ʣ<EBA1A3><CAA3><EFBFBD><EFBFBD>update<74><65><EFBFBD>Ƥ֤<C6A4><D6A4>Ȥ<EFBFBD>ʸ
|
|
|
|
|
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD>뤷<EFBFBD><EBA4B7>update<74><65><EFBFBD>Ƥ֤<C6A4><D6A4>Ȥ<EFBFBD><C8A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
1998-01-16 07:13:05 -05:00
|
|
|
|
|
|
|
|
|
-------------------------------------------------------
|
|
|
|
|
Local variables:
|
|
|
|
|
fill-column: 70
|
|
|
|
|
end:
|