MCPcopy Create free account
hub / github.com/SaadAhla/HeapCrypt / XorIT

Function XorIT

HeapCrypt/HeapEncryptDecrypt.cpp:52–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50
51
52void XorIT(BYTE* input, size_t length, BYTE key[16]) {
53 int key_length = sizeof(key);
54
55 for (int i = 0; i < length; i++) {
56 input[i] = input[i] ^ key[i % key_length];
57 }
58}
59
60
61void HeapEncryptDecrypt() {

Callers 1

HeapEncryptDecryptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected