// get some text from command line to work with$tocrypt = trim(fgets(STDIN));

// some variables to work with$encryptedviaprivatekey = ""; //holds text encrypted with the private key$decryptedviapublickey = ""; // holds text which was decrypted by the public key after being encrypted with the private key, should be same as $tocrypt$encryptedviapublickey = ""; // holds text that was encrypted with the public key$decryptedviaprivatekey = ""; // holds text that was decrypted with the private key after being encrypted with the public key, should be the same as $tocrypt