init template

This commit is contained in:
Mr. Funk 2019-05-07 09:29:53 -04:00
parent 7ba413dae6
commit 4f5cf492e3
1 changed files with 83 additions and 59 deletions

View File

@ -1,5 +1,6 @@
<html> <html>
<head>
<head>
<title>BlueCrypt</title> <title>BlueCrypt</title>
<style> <style>
textarea { textarea {
@ -15,8 +16,8 @@
word-wrap: break-word; /* IE */ word-wrap: break-word; /* IE */
} }
</style> </style>
</head> </head>
<body> <body>
<h1>BlueCrypt for the Browser</h1> <h1>BlueCrypt for the Browser</h1>
<p>BlueCrypt is universal crypto for the browser. It's lightweight, fast, and based on native webcrypto. <p>BlueCrypt is universal crypto for the browser. It's lightweight, fast, and based on native webcrypto.
This means it's easy-to-use crypto in kilobytes, not megabytes.</p> This means it's easy-to-use crypto in kilobytes, not megabytes.</p>
@ -88,6 +89,29 @@
<pre><code class="js-input-pem-spki-public" ></code></pre> <pre><code class="js-input-pem-spki-public" ></code></pre>
</details> </details>
<h2>Signing</h2>
<div class="errors" id="sign-error"></div>
<form class="js-keysign">
<div>
<label for="pem">Pem</label>
<br>
<textarea id="pem" name="pem"></textarea>
</div>
<button class="js-sign" hidden>Sign</button>
</form>
<div class="js-jws-opts" hidden>
<details class="js-toc-jws">
<summary>JWS </summary>
<pre><code class="js-jws" ></code></pre>
</details>
</div>
<div class="js-jwt-opts" hidden>
<details class="js-toc-jwt">
<summary>JWS </summary>
<pre><code class="js-jwt" ></code></pre>
</details>
</div>
<script src="./lib/bluecrypt-encoding.js"></script> <script src="./lib/bluecrypt-encoding.js"></script>
<script src="./lib/asn1-packer.js"></script> <script src="./lib/asn1-packer.js"></script>
<script src="./lib/x509.js"></script> <script src="./lib/x509.js"></script>
@ -95,5 +119,5 @@
<script src="./lib/rsa.js"></script> <script src="./lib/rsa.js"></script>
<script src="./lib/keypairs.js"></script> <script src="./lib/keypairs.js"></script>
<script src="./app.js"></script> <script src="./app.js"></script>
</body> </body>
</html> </html>