mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
0a64817fb8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
38 lines
798 B
Text
38 lines
798 B
Text
.\" md5.doc - -*- Indented-Text -*- created at: Fri Aug 2 12:01:27 JST 1996
|
|
|
|
** MD5(Class)
|
|
|
|
A class to implement MD5 Message-Digest Algorithm by RSA Data
|
|
Security, Inc., described in RFC1321.
|
|
|
|
SuperClass: Object
|
|
|
|
Class Methods:
|
|
|
|
new([str])
|
|
md5([str])
|
|
|
|
creates a new MD5 object. If a string argument is given, it
|
|
is added to the object. (see update.)
|
|
|
|
Methods:
|
|
|
|
clone
|
|
|
|
copies the MD5 object.
|
|
|
|
digest
|
|
|
|
returns have value of the added strings as a 16 bytes string.
|
|
|
|
update(str)
|
|
|
|
Update the MD5 object with the string. Repeated calls are
|
|
equivalent to a single call with the concatenation of all the
|
|
arguments, i.e. m.update(a); m.update(b) is equivalent to
|
|
m.update(a+b).
|
|
|
|
-------------------------------------------------------
|
|
Local variables:
|
|
fill-column: 70
|
|
end:
|