private byte[] ComputeHash(CanonicalURL url) { byte[] bytes = Encoding.ASCII.GetBytes(url.ToString()); SHA256 algo = new SHA256Managed(); return(algo.ComputeHash(bytes)); }
private byte[] ComputeHash(CanonicalURL url) { byte[] bytes = Encoding.ASCII.GetBytes(url.ToString()); SHA256 algo = new SHA256Managed(); return algo.ComputeHash(bytes); }