- BREAKING: BouncyCastle dependency has to be explicitly included.
- BREAKING: The implementation of SHA3 included in versions <= 0.5.4 has
been renamed to Keccak, i.e.
sha3-224
is nowkeccak-224
(see BouncyCastle release notes for version 1.53). - added Digest algorithms:
- KECCAK (formerly SHA3)
- SHA3
- BLAKE2b
- replaces two more occurrences of
count
withalength
andString.length()
. - implements RSA/DSA signing functions for MD2, MD5, SHA-1, SHA-256, SHA-384 and SHA-512.
- replaces a
count
on byte arrays withalength
(see #13). - upgrade main Clojure version to 1.7.0 (add test against 1.6.0).
- now available under MIT License.
- BREAKING
pandect.utils.buffer
is now atpandect.buffer
.
- POSSIBLY BREAKING Strings are treated as UTF-8 by default.
- POSSIBLY BREAKING Files/InputStreams used as HMAC secrets are read directly as bytes (formerly round-trip through String).
- fix problems with AOT compilation. (see #8)
- create a single namespace
pandect.algo.XXX
for each algorithmXXX
and import topandect.core
from there. - upgrade
org.bouncycastle/bcprov-jdk15on
to version "1.51". - use Clojure 1.6 internally.
- remove accidentally created MD2 HMAC functions
- added HMAC algorithms:
- SipHash-2-4
- remove reflection when converting HMAC key to byte array. (thanks to @totakke, PR #1)
- added hash algorithms from BouncyCastle:
- MD4
- GOST 34.11-94
- SHA-224
- SHA3-224
- SHA3-256
- SHA3-384
- SHA3-512
- RIPEMD-128
- RIPEMD-160
- RIPEMD-256
- RIPEMD-320
- Tiger (192,3)
- Whirlpool
- added corresponding HMAC functions.
- added
with-buffer-size
to influence the buffer for stream processing.
- added hash-based message authentication code (HMAC) functions:
md5-hmac
,md5-hmac-bytes
, ...sha1-hmac
,sha1-hmac-bytes
, ...sha256-hmac
,sha256-hmac-bytes
, ...sha384-hmac
,sha384-hmac-bytes
, ...sha512-hmac
,sha512-hmac-bytes
, ...
- changed
<hash>*-file
(raw result of file hash) to<hash>-file*
.
- removed unnecessary
java.io.File
creation from file hashing functions
- switched to compile-time code generation for hash functions
- Adler32 and CRC32 now create a byte array directly, not via a
java.nio.ByteBuffer
- added abstraction (i.e. protocol)
Digest
- added checksum functions
adler32
andcrc32
- Initial Release