/// <summary> /// Computes the SHA1 hash. /// </summary> /// <param name="str">The STR.</param> /// <returns></returns> public static byte[] ComputeSHA1Hash(string str) { byte[] data = StringUtilities.GetBytesFromString(str); return(ComputeSHA1Hash(data)); }