MCPcopy Create free account
hub / github.com/Spuckwaffel/Kernel-Thread-Driver / crypt

Method crypt

Driver/skCrypter.h:118–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116
117 private:
118 __forceinline constexpr void crypt(T* data)
119 {
120 for (int i = 0; i < _size; i++)
121 {
122 _storage[i] = data[i] ^ (_key1 + i % (1 + _key2));
123 }
124 }
125
126 T _storage[_size]{};
127 };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected