log
graph
tags
bookmarks
branches
changeset
browse
file
diff
comparison
annotate
file log
raw
help
Mercurial
>
projects
>
dcrypt
log dcrypt/crypto/Hash.d @ 32:
2b4bccdc8387
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
less
more
|
(0)
tip
age
author
description
Tue, 12 May 2009 22:09:33 -0400
Thomas Dixon
Added version() statements to play nice with D2's current feelings about const. Changed a few methods (addEntropy and read in the base PRNG class, and the constructor for ParametersWithIV) to accept void[] in place of ubyte[].
Mon, 11 May 2009 15:32:00 -0400
Thomas Dixon
Changed Hash's update method to a more optimized variant. Changed the code style for the entire misc package (completely forgot about it). Further changes for D2 compatibility. It appears as if full compatibility won't be possibledue to D2's handling of void[], but the number of changes to obtain compatibility can be minimized in the least.
Mon, 11 May 2009 01:39:19 -0400
Thomas Dixon
Second go at D2 compatibility. Changed the hexEncode method of the ByteConverter class and the hexDigest methods of various classes to return char[] instead of string.
Sun, 10 May 2009 22:38:48 -0400
Thomas Dixon
Further reworked the code for hash padding. Replaced all instances of 'char[]' with 'string' and removed a few 'const' modifiers as per Glenn Haecker's patch for D2 compatibility. Updated CONTRIBUTORS file.
Sat, 09 May 2009 23:29:20 -0400
Thomas Dixon
Fixed error in hash message padding reported by Glenn Haecker.
Sat, 14 Feb 2009 19:58:20 -0500
Thomas Dixon
Replaced dcrypt.crypto.Util with dcrypt.misc.Bitwise and dcrypt.misc.ByteConverter. Altered all dependent files to reflect changes.
Tue, 18 Nov 2008 18:03:40 -0500
Thomas Dixon
Removed some redundancy in code. Added NotSupportedError, a base PRNG class and a class which creates a PRNG from a hash function. Changed the MAC class' finalization methods to digest and hexDigest instead of finish and hexFinish respectively. Also added a base Checksum class, crc32 and adler32 in dcrypt.misc as per request.
Sat, 30 Aug 2008 14:38:23 -0400
Thomas Dixon
Added ManagedBlockCipher, changed Crypto to just import everything, made Hash.update() return itself (for chaining) and ditched BlockCipherWrapper.
Thu, 14 Aug 2008 23:51:56 -0400
Thomas Dixon
Removed update(ubyte x) from Hash class. Rewrote hash function padding. Updated hash functions to use ulong counter for bytes (was previously uint).
Wed, 13 Aug 2008 22:01:19 -0400
Thomas Dixon
Added copy() to hash functions. Modified some code style.
Sun, 10 Aug 2008 14:20:17 -0400
Thomas Dixon
Initial import.
less
more
|
(0)
tip