Insecure.SHA1
An implementation of SHA1 hashing.
Declaration
struct SHA1Overview
The Insecure.SHA1 hash implements the HashFunction protocol to produce a SHA1 digest (Insecure.SHA1Digest).
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.