1PRIME(1)                            OpenSSL                           PRIME(1)
2
3
4

NAME

6       openssl-prime, prime - compute prime numbers
7

SYNOPSIS

9       openssl prime [-help] [-hex] [-generate] [-bits] [-safe] [-checks]
10       [number...]
11

DESCRIPTION

13       The prime command checks if the specified numbers are prime.
14
15       If no numbers are given on the command line, the -generate flag should
16       be used to generate primes according to the requirements specified by
17       the rest of the flags.
18

OPTIONS

20       [-help]
21           Display an option summary.
22
23       [-hex]
24           Generate hex output.
25
26       [-generate]
27           Generate a prime number.
28
29       [-bits num]
30           Generate a prime with num bits.
31
32       [-safe]
33           When used with -generate, generates a "safe" prime. If the number
34           generated is n, then check that (n-1)/2 is also prime.
35
36       [-checks num]
37           Perform the checks num times to see that the generated number is
38           prime.  The default is 20.
39
41       Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
42
43       Licensed under the OpenSSL license (the "License").  You may not use
44       this file except in compliance with the License.  You can obtain a copy
45       in the file LICENSE in the source distribution or at
46       <https://www.openssl.org/source/license.html>.
47
48
49
501.1.1d                            2019-10-03                          PRIME(1)
Impressum