update client to perform crypto in a webworker