swift-hash
is an inline-only microframework providing generic, pure-Swift implementations of various hashes, checksums, and binary utilities.
This package vends the following library products:
-
Tools for encoding to and decoding from base-16 strings.
-
Tools for encoding to and decoding from base-64 strings.
-
Implements CRC-32 checksums.
-
Implements MD5 hashing function.
-
Implements hash-based message authentication codes (HMACs) through protocols that types in the other modules conform to.
-
Unimplemented: SHA-1 hashing function.
-
Implements the SHA-256 hashing function.