diff options
author | (no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-06-04 09:02:30 +0000 |
---|---|---|
committer | (no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-06-04 09:02:30 +0000 |
commit | 469c1f3f40f279906aceceb7cd4aef80eeffd642 (patch) | |
tree | 37d0caae0cb84f774c364bfa2077423a31144e5f /ext/md5/md5.txt | |
parent | 99020d6e50702eb371111d73280eb80b4b29ba5b (diff) |
This commit was manufactured by cvs2svn to create tag 'v1_6_4'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_6_4@1498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/md5/md5.txt')
-rw-r--r-- | ext/md5/md5.txt | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/ext/md5/md5.txt b/ext/md5/md5.txt index e2b072401b..1d58306cf5 100644 --- a/ext/md5/md5.txt +++ b/ext/md5/md5.txt @@ -5,30 +5,31 @@ A class to implement MD5 Message-Digest Algorithm by RSA Data Security, Inc., described in RFC1321. -SuperClass: Object +Superclass: Object Class Methods: new([str]) md5([str]) - creates a new MD5 object. If a string argument is given, it + 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. + Copies the MD5 object. digest - returns have value of the added strings as a 16 bytes string. + Returns the MD5 hash of the added strings as a string of 16 + bytes. hexdigest - returns have value of the added strings as an 32 bytes ASCII - string. This method is equal to: + Returns the MD5 hash of the added strings as a string of 32 + hexadecimal digits. This method is equal to: def hexdigest ret = '' @@ -38,7 +39,7 @@ Methods: update(str) - Update the MD5 object with the string. Repeated calls are + 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). |