imp sha1 (modified base boost/uuid/sha1.hpp