openssl prime
OpenSSL command to compute prime numbers.
- 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}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).