summaryrefslogtreecommitdiff
path: root/ext/md5/md5.txt
blob: 0eca7c90253f66e078f3a578cbbeac165276c9f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.\" 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: