about summary refs log tree commit diff
path: root/src/libutil/hash.cc
AgeCommit message (Expand)AuthorFilesLines
2017-06-24 Fix potential crash/wrong result two hashes of unequal length are comparedNiklas Hambüchen1-0/+2
2017-04-28 Fix hash computation when importing NARs greater than 4 GiBEelco Dolstra1-1/+1
2017-03-21 Move istringstream_nocopy to a separate fileEelco Dolstra1-1/+1
2017-03-06 istringstream_nocopy: Implement in a standards-compliant way.Shea Levy1-1/+1
2017-02-08 Include config.h implicitly with '-include config.h' in CFLAGSTuomas Tynkkynen1-2/+0
2016-11-06 Detect and disallow base32 hash overflowVladimír Čunát1-1/+7
2016-07-21 Fix assertion failureEelco Dolstra1-1/+1
2016-07-21 NarInfo::NarInfo(): Ensure that we get a NAR size/hashEelco Dolstra1-0/+1
2016-07-11 Modernize AutoCloseFDShea Levy1-2/+2
2016-06-09 Use O_CLOEXEC in most placesEelco Dolstra1-1/+1
2016-04-20 Cache path info lookups in SQLiteEelco Dolstra1-6/+26
2016-01-27 Make hashLength32() a method of HashEelco Dolstra1-9/+3
2015-11-04 Support SHA-512 hashesEelco Dolstra1-0/+7
2015-11-04 Require OpenSSLEelco Dolstra1-8/+0
2015-09-18 Shut up clang warningsEelco Dolstra1-1/+0
2015-02-03 Simplify parseHash32Eelco Dolstra1-37/+10
2015-02-03 Simplify printHash32Eelco Dolstra1-35/+17
2014-08-20 Use proper quotes everywhereEelco Dolstra1-7/+7
2012-10-23 If hashes do not match, print them in base-32 for SHA-1/SHA-256Eelco Dolstra1-0/+6
2012-02-09 Use data() instead of c_str() where appropriateEelco Dolstra1-3/+3
2011-12-15 * Refactoring: move sink/source buffering into separate classes.Eelco Dolstra1-10/+12
2011-12-02 * Move parseHash16or32 into libutil, and use in nix-hash.Eelco Dolstra1-0/+16
2010-11-16 * Store the size of a store path in the database (to be precise, theEelco Dolstra1-3/+7
2010-03-09 * In `nix-store --export', abort if the contents of a path hasEelco Dolstra1-0/+7
2008-12-03 * Pass HashType values instead of strings.Eelco Dolstra1-0/+9
2008-08-25 * Doh.Eelco Dolstra1-1/+0
2008-08-25 * Strip off the `.nix' suffix from the attribute name for files inEelco Dolstra1-0/+1
2008-05-21 * GCC 4.3.0 (Fedora 9) compatibility fixes. Reported by Gour andEelco Dolstra1-0/+1
2007-02-21 * `nix-store --export --sign': sign the Nix archive using the RSA keyEelco Dolstra1-15/+24
2006-12-12 * New primop builtins.filterSource, which can be used to filter filesEelco Dolstra1-2/+2
2006-11-30 * Skeleton of the privileged worker program.Eelco Dolstra1-1/+1
2006-09-20 * Print a better error message for wrong hashes (NIX-49).Eelco Dolstra1-1/+7
2006-09-04 * Use a proper namespace.Eelco Dolstra1-2/+9
2006-03-09 * Ugh, printHash() was very inefficient because it usedEelco Dolstra1-5/+7
2006-03-01 * Ouch, parseHash32 was completely broken. All digits >= 4 wereEelco Dolstra1-1/+1
2006-02-13 * Optional switch "--with-openssl=<PATH>" to use OpenSSL'sEelco Dolstra1-11/+15
2006-02-13 * Use a union.Eelco Dolstra1-2/+1
2005-11-16 * Did something useful while waiting at IAD: reference scanning is nowEelco Dolstra1-1/+5
2005-03-23 * Fix endianness bug.Eelco Dolstra1-18/+18
2005-01-17 * Removed the `id' attribute hack.Eelco Dolstra1-3/+61
2005-01-14 * Shorten SHA-256 hashes used in store path name generation to 160Eelco Dolstra1-6/+66
2005-01-14 * Start move towards SHA-256 hashes instead of MD5.Eelco Dolstra1-0/+1
2005-01-14 * Add SHA-256.Eelco Dolstra1-0/+6
2005-01-13 * Added SHA-1 support. `nix-hash' now has an option `--type sha1' toEelco Dolstra1-17/+70
2005-01-13 * Refactoring to support SHA-1.Eelco Dolstra1-8/+12
2003-11-18 * Source tree refactoring.Eelco Dolstra1-0/+124