mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-17 00:00:34 +00:00
Update cheatsheets
This commit is contained in:
17
openssl-prime
Normal file
17
openssl-prime
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user