switching to sha1 instead of md5.
This commit is contained in:
@@ -196,7 +196,7 @@ JOIN umbracoNode ON umbracoRedirectUrl.contentKey=umbracoNode.uniqueID");
|
||||
|
||||
private static string HashUrl(string url)
|
||||
{
|
||||
using (var crypto = new MD5CryptoServiceProvider())
|
||||
using (var crypto = new SHA1CryptoServiceProvider())
|
||||
{
|
||||
var inputBytes = Encoding.UTF8.GetBytes(url);
|
||||
var hashedBytes = crypto.ComputeHash(inputBytes);
|
||||
|
||||
Reference in New Issue
Block a user