diff --git a/src/Umbraco.Core/StringExtensions.cs b/src/Umbraco.Core/StringExtensions.cs
index 463e5a6a5c..95c8d3e17f 100644
--- a/src/Umbraco.Core/StringExtensions.cs
+++ b/src/Umbraco.Core/StringExtensions.cs
@@ -737,7 +737,8 @@ namespace Umbraco.Core
///
/// Refers to itself
/// The MD5 hashed string
- public static string ToMd5(this string stringToConvert)
+ [Obsolete("Please use the GenerateHash method instead. This may be removed in future versions")]
+ internal static string ToMd5(this string stringToConvert)
{
return stringToConvert.GenerateHash("MD5");
}
@@ -747,7 +748,8 @@ namespace Umbraco.Core
///
/// refers to itself
/// The SHA1 hashed string
- public static string ToSHA1(this string stringToConvert)
+ [Obsolete("Please use the GenerateHash method instead. This may be removed in future versions")]
+ internal static string ToSHA1(this string stringToConvert)
{
return stringToConvert.GenerateHash("SHA1");
}