This is using Emscripten virtual file API.
Gets/puts file content on which the native module operates.
Only worker (one thread) operates on file using synchronous API - there should be no problems with locks/parallel access.
Tests.
rebase
CI
Minor note – the filename worker-crypto-utlis.test.js has a typo
In D8559#255126, @ashoat wrote: Minor note – the filename worker-crypto-utlis.test.js has a typo
Thanks for catching it, fixed in D8653