2018-04-18 14:38:06 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<link rel="stylesheet" href="ui.css"/>
|
2018-04-26 15:59:40 +00:00
|
|
|
<script src="libs/gpgmejs.bundle.js"></script>
|
2018-04-26 15:13:34 +00:00
|
|
|
<script src="maindemo.js"></script>
|
2018-04-18 14:38:06 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2018-06-20 11:42:19 +00:00
|
|
|
<div>
|
2018-06-13 13:22:03 +00:00
|
|
|
|
2018-06-20 11:42:19 +00:00
|
|
|
<div class="left">
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<span class="label">Input</span>
|
|
|
|
<textarea rows="5" cols="65" id="inputtext" wrap="hard"></textarea>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class="label">Fingerprint of Key to use: </span>
|
|
|
|
</li>
|
|
|
|
<input type="text" id="pubkey" value="" /> <br>
|
|
|
|
<button id="getdefaultkey">Set to default signing key</button>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="right">
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<span class="label">Result</span>
|
|
|
|
<textarea id="answer" rows="5" cols="65" wrap="hard"></textarea>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="center">
|
|
|
|
<button id="buttonencrypt">Encrypt input text</button><br>
|
|
|
|
<button id="buttondecrypt">Decrypt input text</button><br>
|
|
|
|
<button id="signtext">Sign input text</button> <br>
|
|
|
|
<button id="verifytext">Verify input text</button><br>
|
2018-06-13 13:22:03 +00:00
|
|
|
|
2018-06-20 11:42:19 +00:00
|
|
|
</div>
|
|
|
|
</body>
|
2018-04-18 14:38:06 +00:00
|
|
|
</html>
|