sha1 interface created so that we can solve ios mono not supporting
messagedigest