init template
This commit is contained in:
		
							parent
							
								
									7ba413dae6
								
							
						
					
					
						commit
						4f5cf492e3
					
				
							
								
								
									
										32
									
								
								index.html
									
									
									
									
									
								
							
							
						
						
									
										32
									
								
								index.html
									
									
									
									
									
								
							| @ -1,5 +1,6 @@ | ||||
| <html> | ||||
|   <head> | ||||
| 
 | ||||
| <head> | ||||
|   <title>BlueCrypt</title> | ||||
|   <style> | ||||
|     textarea { | ||||
| @ -15,8 +16,8 @@ | ||||
|         word-wrap: break-word;      /* IE */ | ||||
|       } | ||||
|   </style> | ||||
|   </head> | ||||
|   <body> | ||||
| </head> | ||||
| <body> | ||||
|   <h1>BlueCrypt for the Browser</h1> | ||||
|   <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> | ||||
| @ -88,6 +89,29 @@ | ||||
|     <pre><code  class="js-input-pem-spki-public" ></code></pre> | ||||
|   </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/asn1-packer.js"></script> | ||||
|   <script src="./lib/x509.js"></script> | ||||
| @ -95,5 +119,5 @@ | ||||
|   <script src="./lib/rsa.js"></script> | ||||
|   <script src="./lib/keypairs.js"></script> | ||||
|   <script src="./app.js"></script> | ||||
|   </body> | ||||
| </body> | ||||
| </html> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user