Tony Arcieri
Tony Arcieri
@cuviper yeah, the use cases are similar to `BigUint::bits`, although it would be nice to be able to compute the value in a data-independent manner. In the case of e.g....
I assume many of the traits in this crate predate associated constants, but is there any thought to having both trait methods and associated constants? Perhaps in separate traits? (with...
The nice thing about associated constants is they can be used in a `const fn` context on stable today, which as you noted won't be possible with trait methods until...
The `FixedOutput` change might be possible. It's somewhat complicated by the nature of Ed25519, which does two passes over the input message rather than one, as a mechanism for preventing...
When #394 lands we will switch to [`crypto-primes`](https://github.com/entropyxyz/crypto-primes) for key generation. I would expect that to be faster but haven't benchmarked myself yet.
@dignifiedquire they've recently added a number of improvements including parallel prime generation which haven't made it into a release yet. Also, this seems relevant https://github.com/entropyxyz/crypto-primes/issues/61
@fjarri I was curious if it could be used to ensure certain properties of the generated primes, like non-adjacency of `p` and `q`, and ensuring the high bits are set...
This issue appears to be a dup of #144
@dwhjames sorry for not commenting on this. it's a potentially interesting stopgap, although it would be a lot better to actually support indefinite lengths
We need to update the trait crates first. See https://github.com/RustCrypto/traits/issues/1642