Closed maurges closed 1 year ago
Yeah is_safe_prime
went from
pub fn is_safe_prime(candidate: &BigUint) -> bool {
to
pub fn is_safe_prime<R: RngCore + ?Sized>(candidate: &BigUint, rng: &mut R) -> bool {
which breaks the check
re-export:
Ideally there would be a new release with 1.4.0 being yanked with this problem fixed, as it's a semver violation. I'm not sure what the impact is, but I can say I was affected.
This is because in #17 I was incorrect to assume that the API doesn't change: I didn't notice that some functions were reexported, since I didn't use them myself. Sorry! :(