./security/R-digest, Create compact hash digests of R objects

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 0.6.20, Package name: R-digest-0.6.20, Maintainer: pkgsrc-users

digest provides hash function summaries for GNU R objects. The md5,
sha-1, sha-256 and crc32 hash functions are available. The md5
algorithm by Ron Rivest is specified in RFC 1321, the SHA-1 and
SHA-256 algorithm is specified in FIPS-180-1 and FIPS-180-2,
respectively, and the crc32 algorithm is described in here. For md5,
sha-1 and sha-256, this packages uses small standalone C
implementations that were provided by by Christophe Devine. For crc32,
code from the zlib library is used. For sha-512, a routine by Aaron
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.

Required to run:

Required to build:

Master sites: (Expand)

Version history: (Expand)

CVS history: (Expand)

   2019-08-08 21:53:58 by Brook Milligan | Files touched by this commit (189) | Package updated
Log message:
Update all R packages to canonical form.

The canonical form [1] of an R package Makefile includes the

- The first stanza includes R_PKGNAME, R_PKGVER, PKGREVISION (as
  needed), and CATEGORIES.

- HOMEPAGE is not present but defined in math/R/Makefile.extension to
  refer to the CRAN web page describing the package.  Other relevant
  web pages are often linked from there via the URL field.

This updates all current R packages to this form, which will make
regular updates _much_ easier, especially using pkgtools/R2pkg.

[1] http://mail-index.netbsd.org/tech-pkg/2 … 21711.html
   2018-07-28 16:40:53 by Brook Milligan | Files touched by this commit (126)
Log message:
Remove MASTER_SITES= from individual R package Makefiles.

Each R package should include ../../math/R/Makefile.extension, which also
defines MASTER_SITES.  Consequently, it is redundant for the individual
packages to do the same.  Package-specific definitions also prevent
redefining MASTER_SITES in a single common place.
   2018-02-28 19:12:31 by Min Sik Kim | Files touched by this commit (3) | Package updated
Log message:
security/R-digest: Update to 0.6.15

Notable changes since 0.6.12:
* R/digest.R: Support serializeVersion format
* sha1() handles empty matrices
* sha1() gains an `algo` argument
* sha1() handles raw class
* R/sha1.R (sha1.POSIXlt): Unclass POSIXlt object
   2017-03-11 13:24:25 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.6.12

Upstream changes:
2017-01-26  Dirk Eddelbuettel  <edd@debian.org>

 	* DESCRIPTION (Version, Date): Release 0.6.12

2017-01-23  Thierry Onkelinx <thierry.onkelinx@inbo.be>

	* NAMESPACE: export sha1.function() and sha1.call()

	* R/sha1.R:
          - sha1() gains methods for the class "function" and \ 
          - sha1() gains a ... argument, currently only relevant for
	  - sha1() takes arguments into account for hash for complex,
   	    Date and array. Note that this will lead to different
            hasheS for these classes and for objects containing
	    these classes

	* man/sha1.rd: update helppage for sha1()

	* tests/sha1Test.R: update unit tests for sha1()

2017-01-01  Dirk Eddelbuettel  <edd@debian.org>

	* DESCRIPTION (Version, Date): Release 0.6.11

	* R/sha1.R (sha1.anova): Added more #nocov marks
	* src/sha2.c (SHA256_Transform): Idem

	* tests/AESTest.R (hextextToRaw): Print AES object
	* tests/AESTest.Rout.save: Updated

2016-12-08  Dirk Eddelbuettel  <edd@debian.org>

	* NAMESPACE: Register (and exported) makeRaw S3 methods

	* man/makeRaw.Rd: New manual page

	* tests/hmacTest.R: Direct call to makeRaw()
	* tests/hmacTest.Rout.save: Ditto

	* src/digest.c: Additional #nocov tags
	* src/xxhash.c: Ditto

2016-12-07  Dirk Eddelbuettel  <edd@debian.org>

	* DESCRIPTION (Version, Date): Rolled minor version

	* README.md: Use shields.io badge for codecov

	* R/digest.R: Additional #nocov tags
	* src/sha2.c: Ditto
	* src/raes.c: Ditto

	* tests/hmacTest.R: Additional tests
	* tests/hmacTest.Rout.save: Ditto

2016-11-30  Dirk Eddelbuettel  <edd@debian.org>

	* .travis.yml (before_install): Activate PPA as we (currently)
	need an updated version of (r-cran)-covr to run coverage
	* tests/load-unload.R: Comment-out for now as it upsets coverage

	* tests/digestTest.R: Test two more algorithms
	* tests/digestTest.Rout.save: Updated reference output

	* R/digest.R: Added #nocov tags
	* R/zzz.R (.onUnload): Ditto
	* src/crc32.c: Ditto
	* src/pmurhash.c: Ditto
	* src/raes.c: Ditto
	* src/sha2.c: Ditto
	* src/xxhash.c: Ditto

2016-11-26  Dirk Eddelbuettel  <edd@debian.org>

	* .travis.yml (after_success): Integrated Jim Hester's suggestion of
	activating code coverage sent many moons ago (in PR #12)
	* .codecov.yml (comment): Added
	* .Rbuildignore: Exclude .codecov.yml
	* README.md: Added code coverage badge

2016-10-16  Dirk Eddelbuettel  <edd@debian.org>

	* R/digest.R (digest): Support 'nosharing' option of base::serialize
	as suggested by Radford Neal whose pqR uses this

2016-08-02  Dirk Eddelbuettel  <edd@debian.org>

	* DESCRIPTION (License): Now GPL (>= 2), cf issue 36 on GH

	* README.md: Updated badge accordingly

2016-08-02  Dirk Eddelbuettel  <edd@debian.org>

	* DESCRIPTION (Version): Release 0.6.10

	* DESCRIPTION (Description): Shortened to one paragraph
	* DESCRIPTION (BugReports): URL to GH issues added

	* .travis.yml: Rewritten for run.sh from forked r-travis

2016-07-12  Henrik Bengtsson  <hb@aroma-project.org>

	* src/digest.c: Correct bug with skip and file parameter interaction
	* tests/digestTest.R: Test code
	* tests/digestTest.Rout.save: Test reference output

	* R/zzz.R: Allow for unloading of shared library
	* tests/load-unload.R: Test code

	* DESCRIPTION: Rolled minor Version and Date

2016-05-25 Thierry Onkelinx <thierry.onkelinx@inbo.be>

	* R/sha1.R: Support for pairlist and name
	* tests/sha1Test.R: Support for pairlist and name
	* man/sha1.Rd: Support for pairlist, name, complex, array and Date
	* NAMESPACE: Support for pairlist, name and array
	* DESCRIPTION: bump version number and date

2016-05-01  Viliam Simko  <viliam.simko@gmail.com>

	* R/sha1.R: Support for complex, Date and array
	* tests/sha1Test.R: Ditto

2016-04-27  Dirk Eddelbuettel  <edd@debian.org>

	* DESCRIPTION (Author): Add Qiang Kou to Authors
	* README.md: Ditto

2016-01-25  Dirk Eddelbuettel  <edd@debian.org>

	* src/digest.c (digest): Use XLENGTH if R >= 3.0.0 (issue #29)

2016-01-11 Thierry Onkelinx  <thierry.onkelinx@inbo.be>

	* R/sha1.R: handle empty list and empty dataframe (#issue 27);
	take the object class, digits and zapsmall into account (#PR 28)

	* vignettes/sha1.Rmd: Small edits to reflect changes is sha1()

2016-01-09 Michel Lang  <michellang@gmail.com>

	* R/sha1.R: Add a length check to sha1(), use vapply()
   2016-04-16 16:57:03 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.6.9

Upstream changes:
2016-01-07  Dirk Eddelbuettel  <edd@debian.org>

	* DESCRIPTION (Version): Version 0.6.9

	* DESCRIPTION (Date): Bumped Date: to current date

2016-01-06  Dirk Eddelbuettel  <edd@debian.org>

	* vignettes/sha1.Rmd: Small edits

2016-01-06  Thierry Onkelinx <thierry.onkelinx@inbo.be>

	* R/sha1.R: Add functions to calculate stable SHA1 with floating points
	* man/sha1.Rd: Add helpfile for sha1()

	* tests/num2hexTest.R: unit tests for num2hex() (non exported function)
	* tests/sha1Test.R: unit tests for sha1()

	* NAMESPACE: Export sha1 and its methods

	* DESCRIPTION: Add Thierry Onkelinx as contributor, bump Version and Date
	* README.md: Add Thierry Onkelinx as contributor

	* vignette/sha1.Rmd: Added

	* .travis.yml: Added 'sudo: required' per recent Travis changes

2015-10-14  Dirk Eddelbuettel  <edd@debian.org>

	* man/digest.Rd: Remove references to inaccessible web pages
	* man/hmac.Rd: Ditto

2015-10-13  Dirk Eddelbuettel  <edd@debian.org>

	* src/digest.c: Use uint32_t instead of int for nchar

2015-10-12  Qiang Kou <qkou@umail.iu.edu>

	* src/digest.c: Use XLENGTH instead of LENGTH (PR #17, issue #16)

2015-08-06  Dirk Eddelbuettel  <edd@debian.org>

	* DESCRIPTION (Title): Updated now stressing 'compact' over 'crypto'

2014-12-30  Dirk Eddelbuettel  <edd@debian.org>

	* DESCRIPTION (Version): Version 0.6.8

	* DESCRIPTION (Date): Bumped Date: to current date

2014-12-29  Dirk Eddelbuettel  <edd@debian.org>

	* inst/include/pmurhashAPI.h: Added HOWTO comment to top of file

2014-12-26  Dirk Eddelbuettel  <edd@debian.org>

	* src/pmurhash.c: Protect against _BIG_ENDIAN defined but empty

	* inst/include/pmurhash.h: Consistent four space indentation

2014-12-25  Dirk Eddelbuettel  <edd@debian.org>

	* DESCRIPTION: Bump Date: and Version:

	* src/init.c: Minor edit and removal of unused headers

2014-12-25  Wush Wu  <wush978@gmail.com>

	* inst/include/pmurhash.h: Export function
	* src/init.c: Register function for use by other packages

2014-12-20  Dirk Eddelbuettel  <edd@debian.org>

	* DESCRIPTION (Version): Version 0.6.7

	* DESCRIPTION (Date): Bumped Date: to current date

2014-12-19  Dirk Eddelbuettel  <edd@debian.org>

	* cleanup: Also remove src/symbols.rds

	* src/sha2.c: Apply (slightly edited) patch from
	https://www.nlnetlabs.nl/bugs-script/at … ction=diff
	to overcome the strict-aliasing warning

	* src/digest.c: Use inttypes.h macro PRIx64 only on Windows

2014-12-16  Dirk Eddelbuettel  <edd@debian.org>

	* src/xxhash.c: Remove two semicolons to make gcc -pedantic happy
	* tests/digestTest.Rout.save: Updated reflecting murmurHash test
	* src/pmurhash.c: Renamed from PMurHash.c for naming consistency
	* src/pmurhash.h: Renamed from PMurHash.h for naming consistency

2014-12-16  Jim Hester <james.f.hester@gmail.com>

	* src/digest.c: murmurHash implementation
	* tests/digestTest.R: murmurHash implementation
	* R/digest.R: murmurHash implementation
	* src/PMurHash.c: murmurHash implementation
	* src/PMurHash.h: murmurHash implementation

2014-12-10  Dirk Eddelbuettel  <edd@debian.org>

	* src/xxhash.c: Applied pull request #6 by Jim Hester with updated
	upstream code and already corrected UBSAN issue identified by CRAN

2014-12-09  Dirk Eddelbuettel  <edd@debian.org>

	* DESCRIPTION (Version): Version 0.6.6

	* DESCRIPTION (Date): Bumped Date: to current date

	* src/digest.c: Applied pull request #5 by Jim Hester providing
	portable integer printing inttypes.h header

2014-12-08  Dirk Eddelbuettel  <edd@debian.org>

	* DESCRIPTION (Version): Version 0.6.5

	* DESCRIPTION (Date): Bumped Date: to current date

	* NAMESPACE: Expanded useDynLib() declaring C level symbols, in
	particular using digest_impl to for the C-level digest

	* R/AES.R: Use R symbols from NAMESPACE declaration in .Call()
	* R/digest.R: Use R symbol digest_impl to load C level digest

2014-12-07  Dirk Eddelbuettel  <edd@debian.org>

	* DESCRIPTION: Edited Title and Description

	* R/digest.R: Added GPL copyright header, reindented to four spaces

	* src/digest.c: Reindented to four spaces

	* R/AES.R: Reindented to four spaces
	* R/hmac.R: Reindented to four spaces

2014-12-06  Dirk Eddelbuettel  <edd@debian.org>

	* src/digest.c: Updated GPL copyright header

	* src/xxhash.c:	Removed two spurious ';'

	* man/digest.Rd: Document 'seed' argument in \usage

	* tests/digest.Rout.save: Updated for expanded tests

	* DESCRIPTION: Add Jim Hester to list of Authors

2014-12-05  Dirk Eddelbuettel  <edd@debian.org>

	* R/digest.R: Applied pull request #3 by Jim Hester with support for
	xxHash (https://code.google.com/p/xxhash/)
	* src/digest.c: Ditto

	* src/xxhash.c: xxHash implementation supplied as part of #3
	* src/xxhash.h: xxHash implementation supplied as part of #3

	* R/digest.R: Applied pull request #4 by Jim Hester with expanded
	support for xxHash providing xxhash32 and xxhash64
	* src/digest.c: Ditto
	* man/digest.Rd: Added documentation for xxHash, corrected typos
	* src/digest.R: New support for a seed parameter used by xxHash
	* tests/digestTest.R: Added tests for xxHash

2014-08-15  Dirk Eddelbuettel  <edd@debian.org>

	* R/hmac.R: Applied (slightly edited) patch for crc32 computation of
	hmac kindly supplied by Suchen Jin
   2015-11-04 02:18:12 by Alistair G. Crooks | Files touched by this commit (434)
Log message:
Add SHA512 digests for distfiles for security category

Problems found locating distfiles:
	Package f-prot-antivirus6-fs-bin: missing distfile fp-NetBSD.x86.32-fs-6.2.3.tar.gz
	Package f-prot-antivirus6-ws-bin: missing distfile fp-NetBSD.x86.32-ws-6.2.3.tar.gz
	Package libidea: missing distfile libidea-0.8.2b.tar.gz
	Package openssh: missing distfile openssh-7.1p1-hpn-20150822.diff.bz2
	Package uvscan: missing distfile vlp4510e.tar.Z

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2014-09-20 05:28:30 by Brook Milligan | Files touched by this commit (3)
Log message:
Initial import of digest v0.6.4 as security/R-digest.

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.

Note: this commit is part of reorganizing some of the recently
imported R packages, which are being reimported into more appropriate
categories (and removed from math) as a result of a recent discussion
on tech-pkg and privately with wiz@.  See the thread starting with:

  http://mail-index.netbsd.org/tech-pkg/2 … 13558.html