entropyxyz / crypto-primes

Random prime generation and primality testing library based on `crypto-bigint`.
https://docs.rs/crypto-primes
Apache License 2.0
17 stars 4 forks source link

Add `RandomPrimeWithRng` trait #12

Closed fjarri closed 1 year ago

codecov-commenter commented 1 year ago

Codecov Report

Base: 95.95% // Head: 94.90% // Decreases project coverage by -1.06% :warning:

Coverage data is based on head (c35b1e0) compared to base (67e31fa). Patch coverage: 6.66% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #12 +/- ## ========================================== - Coverage 95.95% 94.90% -1.06% ========================================== Files 8 9 +1 Lines 989 1000 +11 ========================================== Hits 949 949 - Misses 40 51 +11 ``` | [Impacted Files](https://codecov.io/gh/entropyxyz/crypto-primes/pull/12?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [src/hazmat/lucas.rs](https://codecov.io/gh/entropyxyz/crypto-primes/pull/12?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL2hhem1hdC9sdWNhcy5ycw==) | `95.01% <0.00%> (ø)` | | | [src/hazmat/miller\_rabin.rs](https://codecov.io/gh/entropyxyz/crypto-primes/pull/12?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL2hhem1hdC9taWxsZXJfcmFiaW4ucnM=) | `98.75% <0.00%> (ø)` | | | [src/lib.rs](https://codecov.io/gh/entropyxyz/crypto-primes/pull/12?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL2xpYi5ycw==) | `100.00% <ø> (ø)` | | | [src/presets.rs](https://codecov.io/gh/entropyxyz/crypto-primes/pull/12?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL3ByZXNldHMucnM=) | `98.51% <ø> (ø)` | | | [src/traits.rs](https://codecov.io/gh/entropyxyz/crypto-primes/pull/12?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL3RyYWl0cy5ycw==) | `0.00% <0.00%> (ø)` | | | [src/hazmat/jacobi.rs](https://codecov.io/gh/entropyxyz/crypto-primes/pull/12?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL2hhem1hdC9qYWNvYmkucnM=) | `97.01% <100.00%> (+0.71%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.