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