[DiscordArchive] Essentially how can I make
[DiscordArchive] Essentially how can I make
Archived author: Peacy • Posted: 2021-12-24T18:58:33.926000+00:00
Original source
Essentially how can I make
```c++
- memcpy(&challenge.DosChallenge[0], _encryptSeed.AsByteArray(16).get(), 16);
- memcpy(&challenge.DosChallenge[4], _decryptSeed.AsByteArray(16).get(), 16);
```
work when _encryptSeed and _decryptSeed is an array now?
Archived author: Nix • Posted: 2021-12-24T18:58:51.995000+00:00
Original source
Why are you changing it
Archived author: Nix • Posted: 2021-12-24T19:00:09.556000+00:00
Original source
Unless you have a good reason I refuse to help on the basis that changing auth code that you don't understand can cause compromised auth attacks
Archived author: tester • Posted: 2021-12-24T19:00:55.938000+00:00
Original source
im like 60% sure you could just call `&_encryptSeed[0]`, but i do agree that you really shouldn't mess with auth without good knowledge of general programming and security practices
Archived author: tester • Posted: 2021-12-24T19:01:22.093000+00:00
Original source
been too long since i touched C style code so i dont remember the syntax requirement for memcpy
Archived author: Nix • Posted: 2021-12-24T19:01:22.260000+00:00
Original source
I can't think of a single reason you need to do this
Archived author: Peacy • Posted: 2021-12-24T19:07:07.321000+00:00
Original source
That worked, thanks so much!