Adding sha1 as an algorythm