VirtualBox

source: vbox/trunk/src/libs/openssl-1.1.1f/doc/man1/prime.pod@ 83531

Last change on this file since 83531 was 83531, checked in by vboxsync, 5 years ago

setting svn:sync-process=export for openssl-1.1.1f, all files except tests

File size: 1.2 KB
Line 
1=pod
2
3=head1 NAME
4
5openssl-prime,
6prime - compute prime numbers
7
8=head1 SYNOPSIS
9
10B<openssl prime>
11[B<-help>]
12[B<-hex>]
13[B<-generate>]
14[B<-bits>]
15[B<-safe>]
16[B<-checks>]
17[I<number...>]
18
19=head1 DESCRIPTION
20
21The B<prime> command checks if the specified numbers are prime.
22
23If no numbers are given on the command line, the B<-generate> flag should
24be used to generate primes according to the requirements specified by the
25rest of the flags.
26
27=head1 OPTIONS
28
29=over 4
30
31=item [B<-help>]
32
33Display an option summary.
34
35=item [B<-hex>]
36
37Generate hex output.
38
39=item [B<-generate>]
40
41Generate a prime number.
42
43=item [B<-bits num>]
44
45Generate a prime with B<num> bits.
46
47=item [B<-safe>]
48
49When used with B<-generate>, generates a "safe" prime. If the number
50generated is B<n>, then check that B<(n-1)/2> is also prime.
51
52=item [B<-checks num>]
53
54Perform the checks B<num> times to see that the generated number
55is prime. The default is 20.
56
57=back
58
59=head1 COPYRIGHT
60
61Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
62
63Licensed under the OpenSSL license (the "License"). You may not use
64this file except in compliance with the License. You can obtain a copy
65in the file LICENSE in the source distribution or at
66L<https://www.openssl.org/source/license.html>.
67
68=cut
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette