diff options
author | brook <brook> | 2014-09-03 18:49:51 +0000 |
---|---|---|
committer | brook <brook> | 2014-09-03 18:49:51 +0000 |
commit | b7a480e21c166e8d4a25f4f3a1447760e29a174c (patch) | |
tree | fad1cacba15f4f968258b486570f8d0f8a4609ba /math | |
parent | 1179a70875b943ffbb8ac8afc32febe5667907e5 (diff) | |
download | pkgsrc-b7a480e21c166e8d4a25f4f3a1447760e29a174c.tar.gz |
Initial revision of R-digest v0.6.4.
The digest package provides a function 'digest()' for the creation of
hash digests of arbitrary R objects (using the md5, sha-1, sha-256 and
crc32 algorithms) permitting easy comparison of R language objects, as
well as a function 'hmac()' to create hash-based message
authentication code.
Diffstat (limited to 'math')
-rw-r--r-- | math/R-digest/DESCR | 19 | ||||
-rw-r--r-- | math/R-digest/Makefile | 15 | ||||
-rw-r--r-- | math/R-digest/distinfo | 5 |
3 files changed, 39 insertions, 0 deletions
diff --git a/math/R-digest/DESCR b/math/R-digest/DESCR new file mode 100644 index 00000000000..ff1589ce62a --- /dev/null +++ b/math/R-digest/DESCR @@ -0,0 +1,19 @@ +The digest package provides a function 'digest()' for the creation of +hash digests of arbitrary R objects (using the md5, sha-1, sha-256 and +crc32 algorithms) permitting easy comparison of R language objects, as +well as a function 'hmac()' to create hash-based message +authentication code. + +The md5 algorithm by Ron Rivest is specified in RFC 1321, the sha-1 +and sha-256 algorithms are specified in FIPS-180-1 and FIPS-180-2, and +the crc32 algorithm is described in +ftp://ftp.rocksoft.com/cliens/rocksoft/papers/crc_v3.txt. + +For md5, sha-1, sha-256 and aes, this package uses a small standalone +implementations that were provided by Christophe Devine. For crc32, +code from the zlib library is used. For sha-512, an implementation by +Aaron D. Gifford is used. + +Please note that this package is not meant to be deployed for +cryptographic purposes for which more comprehensive (and widely +tested) libraries such as OpenSSL should be used. diff --git a/math/R-digest/Makefile b/math/R-digest/Makefile new file mode 100644 index 00000000000..33d25b73af6 --- /dev/null +++ b/math/R-digest/Makefile @@ -0,0 +1,15 @@ +# $NetBSD: Makefile,v 1.1 2014/09/03 18:49:51 brook Exp $ + +CATEGORIES= math +MASTER_SITES= ${MASTER_SITE_R_CRAN:=contrib/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= ${R_HOMEPAGE_BASE}/digest/ +COMMENT= Create cryptographic hash digests of R objects +LICENSE= gnu-gpl-v2 + +R_PKGNAME= digest +R_PKGVER= 0.6.4 + +.include "../../math/R/Makefile.extension" +.include "../../mk/bsd.pkg.mk" diff --git a/math/R-digest/distinfo b/math/R-digest/distinfo new file mode 100644 index 00000000000..fe875d8a8ff --- /dev/null +++ b/math/R-digest/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2014/09/03 18:49:51 brook Exp $ + +SHA1 (R/digest_0.6.4.tar.gz) = 1a4a9efd9ae339d1778076b77b428203b6aadf78 +RMD160 (R/digest_0.6.4.tar.gz) = 164cce0561584733b7f17ef1a63032f82d560c5e +Size (R/digest_0.6.4.tar.gz) = 79309 bytes |