Skip to content

tayloraswift/swift-hash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hash
0.6

ci status swift package index versions swift package index platforms

swift-hash is an inline-only microframework providing generic, pure-Swift implementations of various hashes, checksums, and binary utilities.

products

This package vends the following library products:

  1. Base16

    Tools for encoding to and decoding from base-16 strings.

  2. Base64

    Tools for encoding to and decoding from base-64 strings.

  3. CRC

    Implements CRC-32 checksums.

  4. MD5

    Implements MD5 hashing function.

  5. MessageAuthentication

    Implements hash-based message authentication codes (HMACs) through protocols that types in the other modules conform to.

  6. SHA1

    Unimplemented: SHA-1 hashing function.

  7. SHA2

    Implements the SHA-256 hashing function.