https://github.com/lemon-mint/softblake3
A pure Go software implementation of the BLAKE3 hash function.
https://github.com/lemon-mint/softblake3
Last synced: about 2 months ago
JSON representation
A pure Go software implementation of the BLAKE3 hash function.
- Host: GitHub
- URL: https://github.com/lemon-mint/softblake3
- Owner: lemon-mint
- License: cc0-1.0
- Created: 2024-08-13T09:33:51.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-08-13T10:05:11.000Z (10 months ago)
- Last Synced: 2025-04-12T07:18:28.992Z (about 2 months ago)
- Language: Go
- Size: 27.3 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# softblake3
A pure Go software implementation of the BLAKE3 hash function.
## Installation
```bash
go get -u github.com/lemon-mint/softblake3
```## Usage
```go
package mainimport (
"encoding/hex"
"fmt""github.com/lemon-mint/softblake3"
)func main() {
// Create a new Hasher.
h := softblake3.New()
text := "Hello, World!"
h.WriteString(text)// Get the hash as a byte slice.
hash := h.Sum(nil)fmt.Println(hex.EncodeToString(hash))
}
```## License
This project is licensed under the CC0 1.0 Universal license. (Public Domain)