lycan/generator.html

41 lines
1.0 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Onionr Block Generator</title>
<meta name="description" content="Generate Onionr block">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<link rel="stylesheet" href="css/bulma-dark.min.css">
<script src="sha3.js" defer></script>
<script src="onionr-jspow/index.js" defer></script>
<script src="main.js" defer></script>
</head>
<body>
Block Type: <input type="text" id="type">
<br>
Contents:
<br>
<textarea id="message"></textarea>
<br>
<input placeholder="Difficulty" id="difficulty" type="number">
<br><br>
<button id="generate">Generate Block</button>
<br>
<br>
<h2>Output</h2>
<br>
<input type="text" id="timeResult" placeholder="Time taken" readonly> <a id="download" class="button" download>Download</a>
<br><br>
<input id="hashResult" type="text" placeholder="Hash result" readonly>
<br><br>
<textarea id="output" cols="75" rows="50" readonly></textarea>
</body>
</html>