XOR two byte strings together.
(fir: bytes, sec: bytes)
| 225 | |
| 226 | |
| 227 | def _xor(fir: bytes, sec: bytes) -> bytes: |
| 228 | """XOR two byte strings together.""" |
| 229 | return b"".join([bytes([x ^ y]) for x, y in zip(fir, sec)]) |
| 230 | |
| 231 | |
| 232 | def _parse_scram_response(response: bytes) -> Dict[bytes, bytes]: |
no test coverage detected