jedisct1 / rust-blind-rsa-signatures

RSA blind signatures in Rust
MIT License
26 stars 12 forks source link

External rng #6

Closed raphaelrobert closed 1 year ago

raphaelrobert commented 1 year ago

Makes blind() and blind_sign() accept an external RNG. This would be helpful for applications that require a dedicated RNG.

jedisct1 commented 1 year ago

For consistency, and since this is a breaking change, it should probably be done in KeyPair::generate() as well.

Could you also update the documentation (the README.md file) to reflect this?

Thanks!

raphaelrobert commented 1 year ago

Good points, I missed that.