summaryrefslogtreecommitdiff
path: root/genkey.html
diff options
context:
space:
mode:
Diffstat (limited to 'genkey.html')
-rw-r--r--genkey.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/genkey.html b/genkey.html
index b73f21a..914d550 100644
--- a/genkey.html
+++ b/genkey.html
@@ -13,8 +13,8 @@
let key = sodium.crypto_sign_keypair('hex');
encryptedPrivateKey = encrypt_private_key(password, key.privateKey);
document.getElementById("output").innerHTML =
- '$privKey = "' + encryptedPrivateKey + '";<br>' +
- '$pubKey = "' + key.publicKey + '";';
+ 'echo "' + encryptedPrivateKey + '<br>' +
+ key.publicKey + '" >key.ed25519;';
}
</script>
<script src="/sodium.js" async></script>