* refactor: cleanup debt for hashing
- Adds a type to avoid direct usage of sync `hash()` for consumers
working with binary input.
- Moved the previous browser-only `sha1Hex` to `hash.ts` now that
webcrypto is quite universal, including in Node.js since 19.
- Cleaned up some code that is replaced with modern built-in functions
like `TypedArray.fill` and `padStart`.
- The `NotebookSimpleWorker` was manually calculating the hash for
its binary data (probably to avoid the same issue as #229619), so
I swapped that to use webcrypto as well which is much speedier for
large inputs (125ms vs 8ms for 10MB of data) @rebornix
Closes https://github.com/microsoft/vscode/issues/229845
* update layer checker