sha256 hash for pdf files using digest.js