info > openssl-prime(1)

Not found locally for openssl-prime. Try Google search

OPENSSL-PRIME(1SSL) — OpenSSL prime number utility

📛 NAME

openssl-prime - compute prime numbers

🚀 Quick Reference

Use Case Command Description
Check if a number is prime openssl prime 7 Check if 7 is prime
Generate a prime of specific bit length openssl prime -generate -bits 2048 Generate a 2048-bit prime
Generate a safe prime openssl prime -generate -safe -bits 2048 Generate a safe prime (n where (n-1)/2 is also prime)
Check with hex output openssl prime -hex 7 Check if 7 is prime and output in hex

🔧 SYNOPSIS

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

📖 DESCRIPTION

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

âš™ī¸ OPTIONS

❓ -help

Display an option summary.

đŸ”ĸ -hex

Generate hex output.

🎲 -generate

Generate a prime number.

📏 -bits num

Generate a prime with num bits.

đŸ›Ąī¸ -safe

When used with -generate, generates a "safe" prime. If the number generated is n, then check that (n-1)/2 is also prime.

đŸĸ -provider name

đŸĸ -provider-path path

đŸĸ -propquery propq

See "Provider Options" in openssl(1), provider(7), and property(7).

✅ -checks num

This parameter is ignored.

ÂŠī¸ COPYRIGHT

Copyright 2017-2020 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at https://www.openssl.org/source/license.html.

openssl-prime(1)
📛 NAME 🚀 Quick Reference 🔧 SYNOPSIS 📖 DESCRIPTION âš™ī¸ OPTIONS
❓ -help đŸ”ĸ -hex 🎲 -generate 📏 -bits num đŸ›Ąī¸ -safe đŸĸ -provider name đŸĸ -provider-path path đŸĸ -propquery propq ✅ -checks num
ÂŠī¸ COPYRIGHT

Generated by phpman v4.10.0-16-g1a0e228 Author: Che Dong Under GNU General Public License
2026-09-22 13:45 @216.73.217.0
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!