pebble-stark
pebble-stark copied to clipboard
migrate randomness
migrate randomness. Relatively small part of the code-base, will rely on finding a decent blake2 hashing library.
https://docs.rs/blake2/latest/blake2/ for blake, any thoughts on this? https://docs.rs/blake2/latest/blake2/type.Blake2s256.html also this is a similar type to https://github.com/starkware-libs/stone-prover/blob/main/src/starkware/crypt_tools/blake2s.inl#L93-L101 as far i can understand for now
That seems reasonable, it would also be good to keep the randomness generator generic over the hash function of choice, so that we may potentially support other hashes in the future if you'd like to tackle that