|
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
|
|
} |