Skip to content

Commit

Permalink
Fix #1526: incorrect hash capitalisation (#1527)
Browse files Browse the repository at this point in the history
  • Loading branch information
qaisjp committed Jun 18, 2020
1 parent 629f96b commit 3829337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shared/mods/deathmatch/logic/luadefs/CLuaCryptDefs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ std::string CLuaCryptDefs::Sha256(std::string strSourceData)

std::string CLuaCryptDefs::Hash(EHashFunctionType hashFunction, std::string strSourceData)
{
return GenerateHashHexString(hashFunction, strSourceData);
return GenerateHashHexString(hashFunction, strSourceData).ToLower();
}

std::string CLuaCryptDefs::TeaEncode(std::string str, std::string key)
Expand Down

0 comments on commit 3829337

Please sign in to comment.