You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

10 lines
356 B

function callCreateShares() {
let secret = document.getElementById("secret").value;
let nShares = document.getElementById("nShares").value;
let nNeededShares = document.getElementById("nNeededShares").value;
let p = document.getElementById("p").value;
console.log(p)
let r = createShares(nNeededShares, nShares, p, secret);
console.log("r", r);
}