Replying to Avatar Mike Dilger ☑️

Ok with empty messages I get:

Signing: SHA-512=13.5us BLAKE3=13.5us (no difference, message was empty, this makes sense)

Verificatin: SHA-512=30.1us BLAKE3=30.4us (within margin of error)

Strict Verif: SHA-512=31.6us BLAKE3=30.9us (within margin of error)

with 4416 bytes of data I instead get:

Signing: SHA-512=25.5us BLAKE3=19.0us (25% faster)

Verif: SHA-512=30.0us BLAKE3=26.5us (11.6% faster)

S. Verif: SHA-512=38.3 BLAKE3=31.9us (16.7% faster)

So I was wrong. Obviously with no data you aren't going to see a difference.

I'm not sure EdDSA with BLAKE3 has any solid implementations out there though, and the standard specifies only SHA-512 so I would be non-compliant.

Lemme think..... non-compliant..... how does that sound.... Hmmmmm.

Yes, sounds great.

Avatar
The Fishcake (nostr.build) 1y ago

For small payloads blake2 is faster than blake3, fyi. Blake3 is fastest for large payloads.

Reply to this note

Please Login to reply.

Discussion

No replies yet.