public void GetSha1_CreatesCorrectHash(string input, string hash) { // Act string result = SportivityHashUtil.GetSha1(input); // Assert Assert.Equal(hash, result); }
protected SportivityRequest(UserOption user) { User = user.User; Password = user.Password; Hash = SportivityHashUtil.GetSha1($"moshi moshi {user.User} desu"); }