<?php
if (empty($_POST['encrypted_data'])){
$data = 'aeVUojhe/RUcW24O0m3ut1V0y+CQ54zEXPvg703wJLJfvdK7PGz9iERF28X5c3JiM/Nwyyt0Tb8nkn/gE3Rr8ehQKnRRAla15vgdlWXgYrs2axrwmJVWNfXzdcKOLHNaUwGiUFb+SmoXGIUYyn6SOqh3psMUz8jV/Sk3bannQf4=';
}else{
$data = $_POST['encrypted_data'];
}
?>
<form action="decrypt.php" method="post">
Private key:<br />
<textarea name="private_key" cols="70" rows="15">
-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQDXJVJzmESWOquLp00O9KJppEhn0o5WgWd5HmoPAifyPEIRsj8B
L1/6o71bTY5vYyMiBSXm+ul2krKIPSfWbkItKmxOBcDydlGR/Mib68MqzdMJuSwu
uM/0Pg1YKZDFA1DnRz4PHfBPCj3QkJEf+6NovILeRfBuOTE7ukGmNZ2e9QIDAQAB
AoGALe+5GBdV5aGnSQ0ypdPT7ax3DTvmyk+c8T5uNMAoGU+GZ9LgIvejjZdycdEw
bVYEhVoGCrheKsQNvIsaO22VUT055Hi5iKKOzGspFoU82zffVB5K4aq6DhaEioW5
59FKbhtMrQ8KzwuYipMvk2JqBm73xSSWPwtVQFcsmOGg/SECQQDskWL8IG01Ntb8
1Y+o56sCFIKWfIEPFIDOuZyNEWUztrA0Nl5MAqVHC/q8UvH81DR7nasRipQ905qi
ACay5Y0dAkEA6NF3F36TtKDnyU/KVryurBo4zcegiNMqGTz92iS2mSJSVrA8Fe7L
uofMuSU7vCdZ/vT32YB6Le1lchph9dUpuQJAavzJfmsP2LwneIsBAItdXIB4GqTO
HUrRgiyRb38JfNzHTaW0+b1MkBgL2nXMuOIjpjBFOJaquldjnJZi6g9ExQJAM6VT
r8iKZ4VSJZwnnHoanV7rvupLuE5vhk27WkrOnsW4Ujah/ZONagF57pBN4f0wv5gD
6yHO+KUy3c7wcCIrMQJBALu1uWtxekqZbIS3j0cQgUBGEyAGT7JG1FpIuOjmkXTo
FycqgtskDi8j8Kc4+00QIjFYmmir3yvvfYqFIHRjVgQ=
-----END RSA PRIVATE KEY-----
</textarea>
<br />
Data:<br />
<textarea name="encrypted_data" cols="70" rows="10"><?=$data?></textarea>
<br />
<input type="submit">
</form>
|