Switched over to using jdk digestinputstream/digestoutputstream
(probably about the same usage as my version...)
Added flags for verbosity...