Program can read input file into buffer
Added preread_sha1 and postread_sha1 functions
Factored out sha1 code into its own module
Added vim swap files to .gitignore
Replaced h buffer array with plain integers
Undid last change
Added common.js to store rotate left function
Added package.json
Messing around
rotl32 and rotr32 now use strings for rotating bits
common.add() works
Random commit
SHA1 produces result but it does not correspons with shasum
Made a few enhancements
Refactored printarr() into common module
Renamed parameter of preread_sha1() return object from bsize to hsize
postread_sha1 now appends original buffer size to end of buffer instead of new buffer size
Added more debugging support
Added safe_add() from JSHashes
Commit to push to github for smartos clone