diff options
Provide an SL compatible llMD5String function across all platforms
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 1ccf76e..45af13a 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -6939,7 +6939,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
6939 | public LSL_String llMD5String(string src, int nonce) | 6939 | public LSL_String llMD5String(string src, int nonce) |
6940 | { | 6940 | { |
6941 | m_host.AddScriptLPS(1); | 6941 | m_host.AddScriptLPS(1); |
6942 | return Util.Md5Hash(String.Format("{0}:{1}", src, nonce.ToString())); | 6942 | return Util.Md5Hash(String.Format("{0}:{1}", src, nonce.ToString()), Encoding.UTF8); |
6943 | } | 6943 | } |
6944 | 6944 | ||
6945 | public LSL_String llSHA1String(string src) | 6945 | public LSL_String llSHA1String(string src) |