summaryrefslogtreecommitdiffstats
path: root/ext/digest
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-27 23:03:20 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-27 23:03:20 +0000
commitb40bb57f98471852eb4a079f319ba0339cef0564 (patch)
tree64b415ba0470268be7710e7362c65a54c8d7cdb6 /ext/digest
parent53e3045cbcb42e06be52176af20562f60a2205cc (diff)
downloadruby-b40bb57f98471852eb4a079f319ba0339cef0564.tar.gz
ruby-b40bb57f98471852eb4a079f319ba0339cef0564.tar.xz
ruby-b40bb57f98471852eb4a079f319ba0339cef0564.zip
Include attribution
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/digest')
-rw-r--r--ext/digest/digest.c34
1 files changed, 15 insertions, 19 deletions
diff --git a/ext/digest/digest.c b/ext/digest/digest.c
index a11996e5e..347e3c71c 100644
--- a/ext/digest/digest.c
+++ b/ext/digest/digest.c
@@ -13,24 +13,6 @@
************************************************/
-/*
- * This module provides an interface to the following hash algorithms:
- *
- * - the MD5 Message-Digest Algorithm by the RSA Data Security,
- * Inc., described in RFC 1321
- *
- * - the SHA-1 Secure Hash Algorithm by NIST (the US' National
- * Institute of Standards and Technology), described in FIPS PUB
- * 180-1.
- *
- * - the SHA-256/384/512 Secure Hash Algorithm by NIST (the US'
- * National Institute of Standards and Technology), described in
- * FIPS PUB 180-2.
- *
- * - the RIPEMD-160 cryptographic hash function, designed by Hans
- * Dobbertin, Antoon Bosselaers, and Bart Preneel.
- */
-
#include "digest.h"
static VALUE mDigest, cDigest_Base;
@@ -244,7 +226,21 @@ rb_digest_base_equal(VALUE self, VALUE other)
}
/*
- * Init
+ * This module provides an interface to the following hash algorithms:
+ *
+ * - the MD5 Message-Digest Algorithm by the RSA Data Security,
+ * Inc., described in RFC 1321
+ *
+ * - the SHA-1 Secure Hash Algorithm by NIST (the US' National
+ * Institute of Standards and Technology), described in FIPS PUB
+ * 180-1.
+ *
+ * - the SHA-256/384/512 Secure Hash Algorithm by NIST (the US'
+ * National Institute of Standards and Technology), described in
+ * FIPS PUB 180-2.
+ *
+ * - the RIPEMD-160 cryptographic hash function, designed by Hans
+ * Dobbertin, Antoon Bosselaers, and Bart Preneel.
*/
void