diff options
Diffstat (limited to 'OpenSim/Framework/Util.cs')
-rw-r--r-- | OpenSim/Framework/Util.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs index 333ab81..ec03d25 100644 --- a/OpenSim/Framework/Util.cs +++ b/OpenSim/Framework/Util.cs | |||
@@ -116,10 +116,6 @@ namespace OpenSim.Framework | |||
116 | 116 | ||
117 | # endregion | 117 | # endregion |
118 | 118 | ||
119 | public Util() | ||
120 | { | ||
121 | } | ||
122 | |||
123 | public static Random RandomClass | 119 | public static Random RandomClass |
124 | { | 120 | { |
125 | get { return randomClass; } | 121 | get { return randomClass; } |
@@ -256,6 +252,11 @@ namespace OpenSim.Framework | |||
256 | return epoch.AddSeconds(seconds); | 252 | return epoch.AddSeconds(seconds); |
257 | } | 253 | } |
258 | 254 | ||
255 | /// <summary> | ||
256 | /// Return an md5 hash of the given string | ||
257 | /// </summary> | ||
258 | /// <param name="pass"></param> | ||
259 | /// <returns></returns> | ||
259 | public static string Md5Hash(string pass) | 260 | public static string Md5Hash(string pass) |
260 | { | 261 | { |
261 | MD5 md5 = MD5CryptoServiceProvider.Create(); | 262 | MD5 md5 = MD5CryptoServiceProvider.Create(); |