perform crypto in a webworker on the client