title: How to encrypt public key with rc4 in openssl?
body: <p>I have found <a href="https://wiki.openssl.org/index.php/Command_Line_Utilities#Public_Key_Cryptographic_Operations" rel="nofollow noreferrer">this</a> way of generating rsa public key with openssl and encrypting it with aes:</p>
  
  <p><strong>openssl genrsa -aes256 -out public.pem 4096</strong></p>
  
  <p>how could i do the same with rc4:</p>
  
  <p><code>openssl genrsa -rc4 -out public.pem 4096
  </code>
  <code>Generating RSA private key, 4096 bit long modulus
  ...............................................................................................................................++
  ...............................++
  e is 65537 (0x010001)
  140272337293760:error:09069071:PEM routines:PEM_ASN1_write_bio:unsupported cipher:../crypto/pem/pem_lib.c:309:</code></p>
  
  <p>is there any way to do this?</p>