SHA2_256
typealias · iOS 26.0+ · SDK 27.1
typealias SHA2_256 = SHA256An implementation of Secure Hashing Algorithm 2 (SHA-2) hashing with a 256-bit digest. The ``SHA2_256`` hash implements the ``HashFunction`` protocol for the specific case of SHA-2 hashing with a 256-bit digest (``SHA256Digest``). Larger digests take more space but are more secure. You can compute the digest by calling the static ``hash(data:)`` method once. Alternatively, if the data that you want to hash is too large to fit in memory, you can compute the digest iteratively by creating a new hash instance, calling the ``update(data:)`` method repeatedly with blocks of data, and then calling the ``finalize()`` method to get the result.
Members (0)
This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.
Skipped declarations
No declarations were skipped in this snapshot.