Latest update.

This commit is contained in:
2019-10-17 23:54:38 +09:00
parent 41a23ae6f6
commit ee84d0dd84
1357 changed files with 41111 additions and 9603 deletions
+13 -14
View File
@@ -10,14 +10,14 @@ B<openssl prime>
[B<-help>]
[B<-hex>]
[B<-generate>]
[B<-bits>]
[B<-bits> I<num>]
[B<-safe>]
[B<-checks>]
[I<number...>]
[B<-checks> I<num>]
[I<number> ...]
=head1 DESCRIPTION
The B<prime> command checks if the specified numbers are prime.
This command checks if the specified numbers are prime.
If no numbers are given on the command line, the B<-generate> flag should
be used to generate primes according to the requirements specified by the
@@ -27,31 +27,30 @@ rest of the flags.
=over 4
=item [B<-help>]
=item B<-help>
Display an option summary.
=item [B<-hex>]
=item B<-hex>
Generate hex output.
=item [B<-generate>]
=item B<-generate>
Generate a prime number.
=item [B<-bits num>]
=item B<-bits> I<num>
Generate a prime with B<num> bits.
Generate a prime with I<num> bits.
=item [B<-safe>]
=item B<-safe>
When used with B<-generate>, generates a "safe" prime. If the number
generated is B<n>, then check that B<(n-1)/2> is also prime.
generated is I<n>, then check that C<(I<n>-1)/2> is also prime.
=item [B<-checks num>]
=item B<-checks> I<num>
Perform the checks B<num> times to see that the generated number
is prime. The default is 20.
This parameter is ignored.
=back