RRE-Site/docs/assets/KeyGeneration.js

10 lines
283 B
JavaScript

function generateKey()
{
let publicKey = document.getElementById('publicKey');
let privateKey = document.getElementById('privateKey');
publicKey.innerText = "TODO";
privateKey.innerText = "TODO";
// Look into the SubtleCrypto Web API & KeyGenerator source
}