Skip to content

Commit

Permalink
Remove bad comment
Browse files Browse the repository at this point in the history
  • Loading branch information
computerquip committed Apr 18, 2024
1 parent 878be65 commit 5f65891
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,7 @@ std::string GenerateCDKey(uint64_t Seed, std::string_view Magic)
}

std::string Check = std::format("{}{}", *(int64_t*)&Seed, Magic);

/* FIXME This is lazy and feels wrong but it's what the exe does essentially.
* I'm not sure if this part of the original algorithm... seems to work? */
MD5 Digest = DigestMD5((unsigned char*)Check.data(), Check.size());

uint64_t QDigest = *(uint64_t*)Digest.data();
std::string CheckOutput = ValuesToCDKeyMap(ulltoa(QDigest, GCDKeyBase));

Expand Down

0 comments on commit 5f65891

Please sign in to comment.