summaryrefslogtreecommitdiff
path: root/ext/md5/md5.txt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/md5/md5.txt')
-rw-r--r--ext/md5/md5.txt51
1 files changed, 0 insertions, 51 deletions
diff --git a/ext/md5/md5.txt b/ext/md5/md5.txt
deleted file mode 100644
index a3c50ff407..0000000000
--- a/ext/md5/md5.txt
+++ /dev/null
@@ -1,51 +0,0 @@
-.\" 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 the MD5 hash of the added strings as a string of 16
- bytes.
-
- hexdigest
-
- Returns the MD5 hash of the added strings as a string of 32
- hexadecimal digits. This method is equal to:
-
- def hexdigest
- ret = ''
- digest.each_byte {|i| ret << sprintf('%02x', i) }
- ret
- end
-
- update(str)
- << str
-
- Update the MD5 object with the string str. 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) and m << a << b is equivalent to m << a+b.
-
--------------------------------------------------------
-Local variables:
-fill-column: 70
-end: