Use web workers to compute SHA256

A new pull requests with local branches for #473. Address/fixes #186.
Hm, `params.chunk` does not seem to exist here? Does this mean that tests do not test this program path?