summaryrefslogtreecommitdiffstats
path: root/ext/sha1
Commit message (Collapse)AuthorAgeFilesLines
* Import the "digest" module and the submodules, from the Rough Rubyknu2001-07-138-439/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | project. ext/digest: This module provides the module Digest and the abstract class Digest::Base. ext/digest/md5 (which obsoletes ext/md5): This module provides the class Digest::MD5 which implements the MD5 Message-Digest Algorithm. ext/digest/rmd160: This module provides the class Digest::RMD160 which implements the RIPEMD-160 cryptographic hash function. ext/digest/sha1 (which obsoletes ext/sha1): This module provides the class Digest::SHA1 which implements the SHA-1 Secure Hash Algorithm. ext/digest/sha2: This module provides the classes Digest::SHA256, Digest::SHA384 and Digest::SHA512 which implement the SHA-256, SHA-384 and SHA-512 Secure Hash Algorithms, respectively. lib/md5.rb, lib/sha1.rb: These files are provided for backward compatibility. All these classes have the common API, which previously ext/md5 and ext/sha1 modules provided. While the new API keeps 100% backward compatibility, it has been enriched with several utility methods. Read digest.txt for further details. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sha1/sha1-ruby.c (sha1_hexdigest): fix buffer overflow. Theknu2001-05-241-1/+1
| | | | | | | buffer for a SHA-1 hexdigest needs to be 41 bytes in length. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sha1/sha1-ruby.c (md5i_new): separate initialize() fromknu2001-05-241-7/+18
| | | | | | | | | new(). * ext/md5/md5init.c (sha1_new): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sha1/sha1-ruby.c (sha1_new): get rid of an unneededknu2001-05-171-1/+0
| | | | | | | rb_obj_call_init() call. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sha1/sha1.txt, ext/sha1/sha1.txt.jp: fix typos.knu2001-05-172-4/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add .cvsignore to let CVS ignore Makefile which is automaticallyknu2001-05-171-0/+1
| | | | | | | generated. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sha1/MANIFEST: Added.eban2001-05-171-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/md5/md5.txt.jp, ext/sha1/sha1.txt.jp: s/SuperClass/Superclass/.knu2001-05-161-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sha1/sha1.txt.jp: add the Japanese version derived fromknu2001-05-162-16/+79
| | | | | | | | | | | | ext/md5/md5.txt.jp. * ext/sha1/sha1.txt: revise the copyright info and reduce the difference from ext/md5/md5.txt. * ext/md5/md5.txt: reduce the difference from ext/sha1/sha1.txt. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sha1/extconf.rb, ext/sha1/sha1.c: use WORDS_BIGENDIAN toknu2001-05-162-16/+3
| | | | | | | detect the platform's endian. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial revisionknu2001-05-165-0/+372
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e