MCPcopy Create free account
hub / github.com/Bl4ckM1rror/FUD-UUID-Shellcode / _xor_crypt

Method _xor_crypt

xor_encryptor.py:18–22  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

16 self._plaintext = b""
17
18 def _xor_crypt(self) -> None:
19 i = 0
20 for char in self._plaintext:
21 self._ciphertext += chr(char ^ ord(self.key[i % self._key_length]))
22 i += 1
23
24 def _print_ciphertext(self) -> None:
25 from textwrap import TextWrapper

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected