Releases: leif-ibsen/Digest
Release 1.13.0
About Digest release 1.13.0:
-
The number of message digest kinds has been extended
to include SHA2-512/224 and SHA2-512/256 -
The remaining API is unchanged from release 1.12.0
Release 1.12.0
About Digest release 1.12.0:
-
Functionality and API is unchanged from release 1.11.0
-
The message digest performance is significantly improved:
SHA1 is about 30% faster
SHA2 (224, 256, 384 and 512) is about 20% faster
SHA3 (224, 256, 384 and 512) is 150% to 200% faster
SHAKE (128 and 256) is about 130% faster
XOF (128 and 256) is about 100% faster
Release 1.11.0
About Digest release 1.11.0:
-
It implements the BLAKE2b cryptographic hash function
-
The remaining API is unchanged from release 1.10.0
Release 1.10.0
About Digest release 1.10.0:
-
Its API and functionality is unchanged from release 1.9.0
-
Some minor documentation issues are fixed
Release 1.9.0
About Digest release 1.9.0:
-
The Base64 structure has two new static methods
for converting between bytes and hexadecimal strings. -
The random number functionality using the Mersenne Twister has been removed.
There is an improved version of this functionality in the SwiftRandom package. -
The remaining functionality and API is unchanged from release 1.8.0.
1.8.0
About Digest release 1.8.0:
-
The Base64.encode and Base64.pemEncode methods have become a 'linesize' parameter
that determines the number of characters per line. Default value is 76. -
The remaining API is unchanged from release 1.7.0.
Release 1.7.0
About Digest release 1.7.0:
-
Release 1.7.0 includes new functionality for Base64 encoding and decoding
and for PEM encoding and decoding of f.ex. cryptographic keys.
Other packages that use this functionality will eventually be refactored
to use the Digest functions instead of each having their own implementation. -
The remaining API and functionality remain unchanged from release 1.6.0.
Release 1.6.0
Digest release 1.6.0 is a bugfix release.
The following two bugs in the MT random number generator class have been fixed:
-
A small range close to Int.max like
randomInt(in: Int.max - 5 ... Int.max)
would crash the application
-
In extremely rare cases randomInt or randomUInt would return
range.lowerBound - 1 or range.upperBound + 1
as result
Release 1.5.0
About Digest release 1.5.0:
-
The Digest package has been extended with a random number generator
that uses the Mersenne Twister algorithm -
The remaining functionality is unchanged from release 1.4.0
Release 1.4.0
About Digest release 1.4.0:
-
The functionality and API is unchanged from release 1.3.0
-
The documentation has been restructured