try to use URL.createObjectURL to load the file in pdf.js, and calculate sha256 in web worker
remove digest package because it is moved to pdf.js