I have following simple Code:
inputBytes = new TextEncoder().encode(inputString)
hashBytes = await window.crypto.subtle.digest("SHA-256", inputBytes)
console.log((typeof hashBytes) + ": " + JSON.stringify(hashBytes))
Why is the result an empty Object? How can I get the real result?
This is so weird, any help very appreciated