Generate RSA Key Pair

Generates an RSA key pair and writes both halves as PEM.

  • ID: generate-rsa-key-pair
  • Category: Public Key
  • Aliases: rsa keygen, new rsa key, private key

Arguments

ArgumentTypeDefaultConstraints
Key sizeoption"2048"2048, 3072, 4096, 1024
Hashoption"SHA-256"SHA-256, SHA-384, SHA-512, SHA-1
Useoption"Signing"Signing, Encryption. A key is imported for one or the other, so it is stamped now