buffering: Getting the message padding correct

Breaks up a file into 512 bit blocks, working on the last one's
correctly padded structure.