Use web workers to compute SHA256

A new pull requests with local branches for #473. Address/fixes #186.
Maybe `FromWorker` and `ToWorker`?