add 'sha1' support