Paul Miller
Paul Miller
@kewde is SHA3 a bottleneck for you? How are the other parts of your app? Do you do many sha3-s per second?
I've published unrolled version of noble-hashes sha3 in this package: https://www.npmjs.com/package/unrolled-nbl-hashes-sha3 You can use it for now from NPM (make sure to lock down dep version).
> the default window size of 8 results in a lot of points being precomputed Good to know, we should adjust docs.
Who uses it?
@Vexcited what do you use md5 for?
Understood. Maybe we should add it.
md5 is available in latest release
It’s pretty easy. Just replace everything with Uint8Array.from(buffer) at first. then, replace Buffer creation with Uint8Array creation. If you use Buffer.prototype.toString (“hex”), replace it with bytesToHex from noble hashes.
So, same validator, with same slot, same epoch and same index is expected to be included many times? Okay.