Added links, added CSS

This commit is contained in:
OakBaron (queso)
2019-04-20 08:25:52 -04:00
parent 1d52a86ed3
commit adb3bd3ecf
6 changed files with 97 additions and 23 deletions

View File

@@ -2,8 +2,8 @@
require "enc.php";
$enc = encrypt($_POST["words"], $_POST["key"]);
$content = "<encrypted>\n"." <iv>".bin2hex($enc[1])."</iv>\n"." <tag>".bin2hex($enc[2])."</tag>\n"." <content>".$enc[0]."</content>\n"."</encrypted>";
header('Content-type: text/plain');
header('Content-Disposition: attachment; filename="encrypted.txt"');
echo $content;
?>
?>