Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aead/blake2b
The BLAKE2b hash algorithm as defined in RFC 7693
https://github.com/aead/blake2b
blake2b blake2b-hash-algorithm cryptography go
Last synced: 25 days ago
JSON representation
The BLAKE2b hash algorithm as defined in RFC 7693
- Host: GitHub
- URL: https://github.com/aead/blake2b
- Owner: aead
- License: mit
- Created: 2016-08-29T08:53:04.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-27T20:15:03.000Z (over 7 years ago)
- Last Synced: 2024-06-20T08:03:39.993Z (5 months ago)
- Topics: blake2b, blake2b-hash-algorithm, cryptography, go
- Language: Go
- Size: 45.9 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Godoc Reference](https://godoc.org/github.com/aead/blake2b?status.svg)](https://godoc.org/github.com/aead/blake2b)
## The BLAKE2b hash algorithm
BLAKE2b is a fast cryptographic hash function described in [RFC 7963](https://tools.ietf.org/html/rfc7693).
BLAKE2b can be directly keyed, making it functionally equivalent to a Message Authentication Code (MAC).### Recommendation
This BLAKE2b implementation was submitted to the golang x/crypto repo.
I recommend to use the official [x/crypto/blake2b](https://godoc.org/golang.org/x/crypto/blake2b) package if possible.### Installation
Install in your GOPATH: `go get -u github.com/aead/blake2b`
### Performance
**AMD64**
Hardware: Intel i7-6500U 2.50GHz x 2
System: Linux Ubuntu 16.04 - kernel: 4.4.0-64-generic
Go version: 1.8.0
```
AVX2
name speed cpb
Write128-4 756MB/s ± 1% 3.15
Write1K-4 842MB/s ± 0% 2.83
Sum128-4 658MB/s ± 0% 3.62
Sum1K-4 825MB/s ± 0% 2.89SSE4.1
name speed cpb
Write128-4 654MB/s ± 1% 3.65
Write1K-4 739MB/s ± 0% 3.23
Sum128-4 578MB/s ± 0% 4.12
Sum1K-4 728MB/s ± 0% 3.27
```