forked from Hay1tsme/artemis
MD5 hash is already 16 bytes, no need to slice
This commit is contained in:
@ -114,7 +114,7 @@ class Mai2Servlet(BaseServlet):
|
|||||||
hash = MD5.new((method_fixed + keys[2]).encode())
|
hash = MD5.new((method_fixed + keys[2]).encode())
|
||||||
|
|
||||||
# truncate unused bytes like the game does
|
# truncate unused bytes like the game does
|
||||||
hashed_name = hash.hexdigest()[:32]
|
hashed_name = hash.hexdigest()
|
||||||
self.hash_table[version][hashed_name] = method_fixed
|
self.hash_table[version][hashed_name] = method_fixed
|
||||||
|
|
||||||
self.logger.debug(
|
self.logger.debug(
|
||||||
|
Reference in New Issue
Block a user