aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Util.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-09-15 20:50:57 +0000
committerJustin Clarke Casey2008-09-15 20:50:57 +0000
commit2b9e115fd72ae7a014bbd8bd2911336fa6b9993e (patch)
tree6c0cb2f556a34458a9099d8f25820ccda2e2cb24 /OpenSim/Framework/Util.cs
parent* Add "reset user password" command to user server (diff)
downloadopensim-SC-2b9e115fd72ae7a014bbd8bd2911336fa6b9993e.zip
opensim-SC-2b9e115fd72ae7a014bbd8bd2911336fa6b9993e.tar.gz
opensim-SC-2b9e115fd72ae7a014bbd8bd2911336fa6b9993e.tar.bz2
opensim-SC-2b9e115fd72ae7a014bbd8bd2911336fa6b9993e.tar.xz
* minor: eat up some yummy warnings
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Util.cs9
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();