System Grab Bag

View all TLDR pages from common (or from all pages)

openssl prime

OpenSSL command to compute prime numbers. More information: https://www.openssl.org/docs/manmaster/man1/openssl-prime.html.
  • 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}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.