0

Recently Blake3 has been announced, which can be used as PRF. I'm wondering which PRF is faster, namely PRF based on Blake3 or the one based on AES-CTR?

Patriot
  • 3,162
  • 3
  • 20
  • 66
user9414424
  • 257
  • 1
  • 6

1 Answers1

2

As @SEJPM pointed out above, there's no one answer to this question. Everything varies based on what hardware you've got and what the length of your input is. As a first step, I'd start by looking at SUPERCOP performance measurements. You can find AES-CTR measurements at https://bench.cr.yp.to/results-stream.html, and BLAKE3 measurements at https://bench.cr.yp.to/results-hash.html. There's an enormous amount of data in both pages, because there's a lot of different hardware to consider. (And of course, lots of stream ciphers and hash functions to measure.)

Jack O'Connor
  • 647
  • 6
  • 13