An open API service indexing awesome lists of open source software.

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.

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 main

import (
"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)