https://github.com/joshuabrest/blake3-swift
BLAKE3 binding for Swift.
https://github.com/joshuabrest/blake3-swift
blake3 hashing-algorithms swift swift-package-manager
Last synced: 14 days ago
JSON representation
BLAKE3 binding for Swift.
- Host: GitHub
- URL: https://github.com/joshuabrest/blake3-swift
- Owner: JoshuaBrest
- License: isc
- Created: 2024-11-19T04:44:58.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-01-21T07:41:42.000Z (3 months ago)
- Last Synced: 2025-04-08T23:22:23.846Z (20 days ago)
- Topics: blake3, hashing-algorithms, swift, swift-package-manager
- Language: Swift
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BLAKE3 Swift
[](https://swiftpackageindex.com/JoshuaBrest/blake3-swift)
[](https://swiftpackageindex.com/JoshuaBrest/blake3-swift)A Swift wrapper for the official C/Rust implementation of BLAKE3.
## License
This project is licensed under the ISC license. See the [LICENSE](LICENSE) file for details.
## Usage
```swift
import BLAKE3let hasher = BLAKE3()
hasher.update(data: "Hello, world!".data(using: .utf8)!)
let hash = hasher.finalizeData()
print(hash)
```