public async Task Md5Byte() { var content = new StringContent("Test"); var candidate = Convert.ToBase64String(await content.ComputeMd5HashByte()); Assert.That(candidate, Is.EqualTo("DLxmEfVUC9CAmjiNyVphWw=="), "Hash differs"); }
public async Task Md5Byte() { var content = new StringContent("Test"); var candidate = Convert.ToBase64String(await content.ComputeMd5HashByte()); Assert.That(candidate, Is.EqualTo("DLxmEfVUC9CAmjiNyVphWw=="), "Hash differs"); }