This script signs files splitting them by 1KB and hashing each block. It appends the hash to the previously standing block.
This is a solution for Cryptography I Week 3 Programming Assignment by Dan Boneh
Hint for every psycho who decides to accomplish this task on NodeJS
: ALWAYS USE BUFFER