Releases: tayloraswift/swift-hash
Releases · tayloraswift/swift-hash
0.7.1
This release lowers the deployment minima back to macOS 10.15, iOS 13, tvOS 13, watchOS 6
, to support swift-png users.
Full Changelog: 0.7.0...0.7.1
0.7.0
This release introduces the UUID
module and eponymous type.
Internally, it also adopts swift-testing, which allows the package to drop its sole package dependency (swift-grammar).
Full Changelog: 0.6.3...0.7.0
0.6.3
What's Changed
- Support macOS 10.15, iOS 13, tvOS 13, and watchOS 6 by @stackotter in #18
New Contributors
- @stackotter made their first contribution in #18
Full Changelog: 0.6.2...0.6.3
0.6.2
what’s changed
- adds support for the MD5 hash
- Base64 decoder now handles the URL-safe variant
- Base64 encoder can now encode with the URL-safe character set, using
encode(_:padding:with:)
- allow configuring the Base64 padding
0.4.1
- relaxes the input requirement of
Base16
andBase64
decoders to skip over non-digit characters. (previously, the library was interpreting them as zeroes).
0.4.0
adds support for password-based key derivation (PBKDF2). this is a minor version bump because HMAC APIs have changed in a breaking manner.
instead of
let hmac:SHA256 = .hmac(message, key: key)
now do:
let hmac:SHA256 = .init(authenticating: message, key: key)
v0.4.0 also expands test coverage.
0.3.0
- vastly simplifies the litany of
Base16
encoding and decoding APIs. - adds support for
Base64
encoding and decoding. - improves test coverage
- improves docstring coverage
v0.2.3
v0.2.3 of swift-hash
adds RandomAccessCollection
conformance to SHA256
, and adds support for CRC32
hashes.