Gave names to functions so it matches pdf.js's style.
Renamed function argument, data -> sha256. (readability)