Generate a 2048bit prime number and display it in hexadecimal

openssl prime

  • OpenSSL command to compute prime numbers.
    More information: <https://www.openssl.org/docs/manmaster/man1/openssl-prime.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

openssl prime -generate -bits 2048 -hex

click the source code to copy install openssl prime on any operating system with command-not-found.com