replaced TAB with 4-spaces
fixed include of 'digest/sha1' on some systems