1OPENSSL-PRIME(1ossl)                OpenSSL               OPENSSL-PRIME(1ossl)
2
3
4

NAME

6       openssl-prime - compute prime numbers
7

SYNOPSIS

9       openssl prime [-help] [-hex] [-generate] [-bits num] [-safe] [-provider
10       name] [-provider-path path] [-propquery propq] [-checks num] [number
11       ...]
12

DESCRIPTION

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

OPTIONS

21       -help
22           Display an option summary.
23
24       -hex
25           Generate hex output.
26
27       -generate
28           Generate a prime number.
29
30       -bits num
31           Generate a prime with num bits.
32
33       -safe
34           When used with -generate, generates a "safe" prime. If the number
35           generated is n, then check that "(n-1)/2" is also prime.
36
37       -provider name
38       -provider-path path
39       -propquery propq
40           See "Provider Options" in openssl(1), provider(7), and property(7).
41
42       -checks num
43           This parameter is ignored.
44
46       Copyright 2017-2020 The OpenSSL Project Authors. All Rights Reserved.
47
48       Licensed under the Apache License 2.0 (the "License").  You may not use
49       this file except in compliance with the License.  You can obtain a copy
50       in the file LICENSE in the source distribution or at
51       <https://www.openssl.org/source/license.html>.
52
53
54
553.0.5                             2022-11-01              OPENSSL-PRIME(1ossl)
Impressum