Skip to content

Consider bumping minimum iOS / tvOS version to 13 #120457

@vcsjones

Description

@vcsjones

Today our floor for iOS version support is 12.2.

<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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions