mailiverse/web/WebContent/js/crypt/openpgp/example.html

73 lines
3.3 KiB
HTML

<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Example | OpenPGP.js</title>
<link rel="stylesheet" media="all" href="example.css">
<script src="openpgp.js"></script>
</head>
<body>
<div id="title">
<h1>Example | OpenPGP.js</h1>
<p>Please feel free to provide any kind of feedback.</p>
</div>
<div class="block">
<h2>Send us an encrypted message</h2>
<form action="example.php" method="post" onsubmit="return encrypt();" name="myform" id="myform">
<!--
<form action="http://openpgpjs.org/example.php" method="post" onsubmit="return encrypt();" name="myform" id="myform">
-->
<ul>
<li><label>Your mail (optional): </label><br/><input type="email" name="mail" id="mail" /></li>
<li><label>Your message: </label><br/><textarea name="message" id="message"></textarea></li>
</ul>
<input type="submit" name="mybutton" id="mybutton" />
</form>
</div>
<div class="block">
<h2>Our public key</h2>
<pre id="pubkey">
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
Comment: GPGTools - http://gpgtools.org
mQENBE8Tb1oBCADSFabWN+0j8Edt3b0s2/pf5C6oKY0SFgblPwSq//R0Cm6h2cOd
C1SqKPdv1BW8qWyBJ4P58+Fh4FNqWKUTsE4BHE8Sq2Go2tN1pROedubDcgYYuJ+c
VLY7Q0fqnHlm2wifVEvvv6rBRtwyFlBU9Elc3N7pN0kGtUI2nSEQZsmbsn9/jawt
CwSvz2KomJ54pAm2UlWMy62b+VS0yorHbe6WjO2FdisUa3EQxGcF5yTMdpNPGb/R
9tw0FMOL0D8mG4T24uFMd19xl+BjoQ7r+rVJr6+S2CgQ4cG+6PnvBfzFsamSiXvi
hkM2LgJEMeNavonbPKcd2zo4mUaFfvhtAEYBABEBAAG0HE9wZW5QR1AuanMgPGxp
c3RAb3BlbnBncC5qcz6JAT8EEwECACkFAk8Tb1oCGy8FCQeGH4AHCwkIBwMCAQYV
CAIJCgsEFgIDAQIeAQIXgAAKCRBBcpNwheX4iWvo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v9LeMbkzHb+ZhNCq9VFK2x0RrgGgDLOoSEUbrCJDyHnQfkCnVEl6eTVm1JfA34
VejDMU8F7GJ8RypWZKeTxqe2Wh2nB/9p1Ea0Q0f5BWfdulEMKhbkr6a0VrWQ/76M
wmgqFsiqGkU28gCiXJBJc1557FOYUquzGo1dRoEbl9nCVXkcfVjgGCiVBnQWhNk2
CTGA0lZ/Bzw0gZXjs32SRzTIUoaS7aJi7V324Q2ISjYJjJ3soijctVHCzi7JK43j
kg64fBx5DqXZGZaKESlcI1apmAo2O9GvoSusAzfg6h55dJh3526MRgN6ooB+Mlm+
d1znU1KJs+UvEXFkvlCo6Q8nhjKzUMWqXthoWcc3ZqFvc2Abvu3n/T4Malsq7kiC
z8jl9UymAkoTcsVWRVr5PKR0zsCxaNV3w5hv6j12+US7mEWe2kuD
=Lx12
-----END PGP PUBLIC KEY BLOCK-----
</pre>
</div>
<script src="./jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script src="./example.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>