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 hash-based message authentication codes (HMACs) through protocols that types in the other modules conform to.
Implements the SHA-256 hashing function.
This package vends an unofficial product called
Testing, which contains a unit-testing framework used by this package and a handful of others. At some point it will graduate to its own repository; depending on it in its current state is not recommended!
A unit-testing framework.
|Last commit: Yesterday|
Base64decoders to skip over non-digit characters. (previously, the library was interpreting them as zeroes).