Skip to content

Improve DH safe-prime generation and RSA modulus validation#103

Merged
Xor-el merged 1 commit into
masterfrom
enhancements/improve-rsa-modulus-validation-and-dh-safe-primes
May 28, 2026
Merged

Improve DH safe-prime generation and RSA modulus validation#103
Xor-el merged 1 commit into
masterfrom
enhancements/improve-rsa-modulus-validation-and-dh-safe-primes

Conversation

@Xor-el
Copy link
Copy Markdown
Owner

@Xor-el Xor-el commented May 28, 2026

Move small-prime screening and CreateRandomPrime into BigIntegerUtilities, add external RSA modulus checks (size, small factors, enhanced MR) with AIsInternal for generated keys, and expose MaxSize/MaxMRTests as static class properties.
Rewrite DH safe-prime generation for g=2 with Pocklington/Rabin–Miller screening.

Improve DH safe-prime generation and RSA modulus validation.

Move small-prime screening and CreateRandomPrime into BigIntegerUtilities,
add external RSA modulus checks (size, small factors, enhanced MR) with
AIsInternal for generated keys, and expose MaxSize/MaxMRTests as static
class properties.
Rewrite DH safe-prime generation for g=2 with Pocklington/Rabin–Miller screening.
@Xor-el Xor-el merged commit 521a2ef into master May 28, 2026
33 checks passed
@Xor-el Xor-el deleted the enhancements/improve-rsa-modulus-validation-and-dh-safe-primes branch May 28, 2026 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant