mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 12:45:59 +02:00
openssl-prime: add page (#4422)
This commit is contained in:
parent
935d337cc6
commit
c7ed28053a
2 changed files with 13 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# openssl genrsa
|
||||
|
||||
> OpenSSL command to generate RSA private keys.
|
||||
> More information: <https://www.openssl.org/docs/man1.0.2/man1/genrsa.html>.
|
||||
> More information: <https://www.openssl.org/docs/manmaster/man1/openssl-genrsa.html>.
|
||||
|
||||
- Generate an RSA private key of 2048 bits to stdout:
|
||||
|
||||
|
|
12
pages/common/openssl-prime.md
Normal file
12
pages/common/openssl-prime.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
# 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}}`
|
Loading…
Add table
Reference in a new issue