MCPcopy Create free account
hub / github.com/PyMySQL/PyMySQL / _my_crypt

Function _my_crypt

pymysql/_auth.py:42–48  ·  view source on GitHub ↗
(message1, message2)

Source from the content-addressed store, hash-verified

40
41
42def _my_crypt(message1, message2):
43 result = bytearray(message1)
44
45 for i in range(len(result)):
46 result[i] ^= message2[i]
47
48 return bytes(result)
49
50
51# MariaDB's client_ed25519-plugin

Callers 1

scramble_native_passwordFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected