String.prototype.sha256 = function() {
const hash = await window.crypto.subtle.digest("SHA-256", msgUint8b).then(function(hashArrayBuffer) {return Array.from(new Uint8Array(hashArrayBuffer), (b) => b.toString(16).padStart(2, "0") ).join("");},);
return hash;
}