1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/digest/sha2
knu d87fc2bdd4 * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@11166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-13 23:23:18 +00:00
..
.cvsignore add extconf.h to .cvsignore. 2006-06-24 01:15:08 +00:00
depend * ext/digest/sha1/depend, ext/digest/sha2/depend: Remove obsolete 2006-10-10 04:22:30 +00:00
extconf.rb * ext/digest/digest.[ch]: Since the argument order of 2006-10-05 11:09:42 +00:00
sha2.c * ext/digest/digest.c (rb_digest_base_alloc, 2006-10-11 12:43:58 +00:00
sha2.h * ext/digest/digest.c (rb_digest_base_alloc, 2006-10-11 12:43:58 +00:00
sha2init.c * ext/digest/digest.c, ext/digest/digest.h, 2006-10-13 23:23:18 +00:00