Linux
Command
Library
Commands
Basics
Tips
openssl-prime
OpenSSL command to compute prime numbers.
TLDR
Generate a 2048bit prime number and display it in hexadecimal
$ openssl prime -generate -bits 2048 -hex
Check if a given number is prime
$ openssl prime [number]
COLLAPSE ALL
Copied to clipboard