SHA1 public class SHA1 Provides static methods for SHA1 hashing streams and strings. Documentation public SHA1() public static string GenerateHashForStream(Stream stream) SHA1 hashes the provided stream. public static string GetHashStringFromString(string inputString, Encoding encoder) SHA1 hashes the provided string, using the specified encoding.