Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tayloraswift/swift-hash
hashes, checksums, and hextools for server applications
https://github.com/tayloraswift/swift-hash
crc crc32 hash hmac hmac-sha256 pbkdf2 pbkdf2-sha-256 server-side-swift sha2 sha256 swift
Last synced: 16 days ago
JSON representation
hashes, checksums, and hextools for server applications
- Host: GitHub
- URL: https://github.com/tayloraswift/swift-hash
- Owner: tayloraswift
- License: apache-2.0
- Created: 2022-01-26T21:26:13.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-09-02T03:33:45.000Z (2 months ago)
- Last Synced: 2024-10-07T23:45:58.594Z (about 1 month ago)
- Topics: crc, crc32, hash, hmac, hmac-sha256, pbkdf2, pbkdf2-sha-256, server-side-swift, sha2, sha256, swift
- Language: Swift
- Homepage: https://swiftinit.org/docs/swift-hash
- Size: 138 KB
- Stars: 22
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
***`hash`***
`0.6`[![ci status](https://github.com/tayloraswift/swift-hash/actions/workflows/ci.yml/badge.svg)](https://github.com/tayloraswift/swift-hash/actions/workflows/ci.yml)
[![swift package index versions](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Ftayloraswift%2Fswift-hash%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/tayloraswift/swift-hash)
[![swift package index platforms](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Ftayloraswift%2Fswift-hash%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/tayloraswift/swift-hash)*`swift-hash`* is an inline-only microframework providing generic, pure-Swift implementations of various hashes, checksums, and binary utilities.
[documentation and api reference](https://swiftinit.org/docs/swift-hash)
## products
This package vends the following library products:
1. [`Base16`](https://swiftinit.org/docs/swift-hash/base16)
Tools for encoding to and decoding from base-16 strings.
1. [`Base64`](https://swiftinit.org/docs/swift-hash/base64)
Tools for encoding to and decoding from base-64 strings.
1. [`CRC`](https://swiftinit.org/docs/swift-hash/crc)
Implements [CRC-32](https://en.wikipedia.org/wiki/Cyclic_redundancy_check) checksums.
1. [`MD5`](https://swiftinit.org/docs/swift-hash/md5)
Implements [MD5](https://en.wikipedia.org/wiki/MD5) hashing function.
1. [`MessageAuthentication`](Sources/MessageAuthentication)
Implements [hash-based message authentication codes](https://en.wikipedia.org/wiki/HMAC) (HMACs) through protocols that types in the other modules conform to.
1. [`SHA1`](https://swiftinit.org/docs/swift-hash/sha1)
Unimplemented: [SHA-1](https://en.wikipedia.org/wiki/SHA-1) hashing function.
1. [`SHA2`](https://swiftinit.org/docs/swift-hash/sha2)
Implements the [SHA-256](https://en.wikipedia.org/wiki/SHA-2) hashing function.