0xPolygonMiden / miden-client

Client library that facilitates interaction with the Miden rollup
MIT License
32 stars 29 forks source link

feat: add trait to add randomness controller #236

Closed mFragaBA closed 6 months ago

mFragaBA commented 6 months ago

closes #22

This PR introduces an rng component to the client which is to be used whenever the client needs some form of randomness (usually in the form of a random word, field element or just random bytes). For now we'll go with the ClientRng trait but once the FeltRng updates are done on a new release of miden crypto we can just remove it since the functionality added with ClientRng was added to FeltRng on https://github.com/0xPolygonMiden/crypto/pull/299

Dominik1999 commented 6 months ago

Can you finish and close this issue now and open an issue for https://github.com/0xPolygonMiden/miden-client/pull/236#discussion_r1537709096 ?