RSA

RSA Encryption & Decryption on PHP

Generate an RSA keypair with a 4096 bit private key Execute command: openssl genrsa -out private_key.pem 4096 e.g. $ openssl genrsa -out private_key.pem 4096 Generating RSA private key, 4096 bit long modulus .............................++++++ ................................................................++++++ e is 65537 (0x10001) Make sure…