diff options
| author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-10-13 23:23:18 +0000 |
|---|---|---|
| committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-10-13 23:23:18 +0000 |
| commit | ac4ae45ec81853a9285290c0cf389a599efc7c90 (patch) | |
| tree | d9bad3e4332f56f68b89a9b1ef688f9aaa46fb21 /lib/rubyunit.rb | |
| parent | b7fe99d530800f82ecd203a8915323eeab9688dd (diff) | |
| download | ruby-ac4ae45ec81853a9285290c0cf389a599efc7c90.tar.gz ruby-ac4ae45ec81853a9285290c0cf389a599efc7c90.tar.xz ruby-ac4ae45ec81853a9285290c0cf389a599efc7c90.zip | |
* ext/digest/digest.c, ext/digest/digest.h,
ext/digest/md5/md5init.c, ext/digest/rmd160/rmd160init.c,
ext/digest/sha1/sha1init.c, ext/digest/sha2/sha2init.c:
Introduce API versioning.
* ext/digest/digest.c, ext/digest/digest.h,
ext/digest/md5/md5init.c, ext/digest/rmd160/rmd160init.c,
ext/digest/sha1/sha1init.c, ext/digest/sha2/sha2init.c: Remove
the constants DIGEST_LENGTH and BLOCK_LENGTH and turn them into
instance methods digest_length() and block_length(). Class
methods with the same names are also provided, which take extra
parameters for a digest method.
* ext/digest/lib/digest/hmac.rb: Completely redesign the API which
is similar to Perl's, now that Digest classes can take hashing
parameters.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubyunit.rb')
0 files changed, 0 insertions, 0 deletions
