SHA3_256
An implementation of Secure Hashing Algorithm 3 (SHA-3) hashing with a 256-bit digest.
Declaration
struct SHA3_256Overview
The SHA3_256 hash implements the HashFunction protocol for the specific case of SHA-3 hashing with a 256-bit digest (SHA3_256Digest). Larger digests take more space but are more secure.
Applications can compute the digest by calling the static hash(data:) method once. Alternatively, if the data to hash is too large to fit in memory, applications 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.