The logic to display the error message had a bug. This PR fixes the bug and prints a red message in the terminal if the browser is not running in a secure context where window.crypto is unavailable.See https://developer.mozilla.org/en-US/docs/Web/API/Window/crypto.
The logic to display the error message had a bug. This PR fixes the bug and prints a red message in the terminal if the browser is not running in a secure context where
window.crypto
is unavailable.See https://developer.mozilla.org/en-US/docs/Web/API/Window/crypto.fixes #39