Skip to content

Commit 9942bf3

Browse files
author
dev
committed
update README
1 parent 1c71952 commit 9942bf3

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,24 @@ It has been designed to be the only encryption algorithm you will ever need.
1919
[https://kerkour.com/chacha20-blake3](https://kerkour.com/chacha20-blake3)
2020

2121

22+
## Performance
23+
24+
25+
Indicative single-core performance of pure-Rust, non-optimized implementations from the [official implementation](https://github.com/skerkour/chacha20-blake3) and the [Rust Crypto](https://github.com/RustCrypto) project.
26+
27+
| Message Size | ChaCha20-BLAKE3 | XChaCha20-Poly1305 | AES-256-GCM |
28+
| ----- | ------------------- | ------------- | ------------- |
29+
| 64 B | 103 MB/s | 116 MB/s | **540 MB/s** |
30+
| 1 KB | 523 MB/s | 767 MB/s | **1,287 MB/s** |
31+
| 64 KB | **2,153 MB/s** | 1,636 MB/s | 1,475 MB/s |
32+
| 1 MB | **3,297 MB/s** | 1,654 MB/s | 1,476 MB/s |
33+
| 10 MB | **3,353 MB/s** | 1,664 MB/s | 1,477 MB/s |
34+
35+
36+
Machine: *AMD EPYC 9R45 (virtualized, AWS ma8.xlarge)*
37+
38+
39+
2240
## Usage
2341

2442
<!-- <div>
@@ -73,6 +91,10 @@ fn main() {
7391
| `zeroize` || Enables [`zeroize`](https://crates.io/crates/zeroize) to erase sensitive secrets from memory. |
7492

7593

94+
## ChaCha12-BLAKE3
95+
96+
The old version, ChaCha12-BLAKE3 is available on the `chacha12-blake3` branch but won't receive any further update.
97+
7698
## License
7799

78100
MIT. See `LICENSE.txt`

0 commit comments

Comments
 (0)