-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Open
Labels
Milestone
Description
Today our floor for iOS version support is 12.2.
Line 42 in b87db0a
| <iOSVersionMin>12.2</iOSVersionMin> |
Over at #116511 we are looking at implementing support for SHA-3 using CryptoKit.
While SHA-3 is Apple 26 and later, MD5/SHA-1/SHA-2 have been in CryptoKit since it was introduced in iOS 13.
If our iOS floor is iOS 13 (and tvOS) then we can implement SHA-3 with CryptoKit, and we can implement all of the other hash algorithms in terms of CryptoKit as well. This would substantially reduce the complexity of introducing SHA-3, as we won't have two different implementations of hash algorithms. The CommonCrypto one will just go away, and the SHA-3 implementations will just light up using if #available(iOS 26, etc, *).
This also benefits HMAC as well.
jkotas, filipnavara and Zagrthos