#include
#include
char* keygen(char* UserName)
{
char Key[256] = "";
int UserNameLength;
int EncryptKeyLength;
int i;
EncryptKeyLength = strlen("tryHarderToMakeAGoodKeyGen"); // = 26
// ONLY length of the EncryptKey string matters! So the following will generate the same key as above.
// EncryptKeyLength = strlen("--------------------------"); // = 26
UserNameLength = strlen(UserName);
for (i = 0; i NameEntered;
std::cout |
==> |
/*
Feb-26-2022 By JamesBond008
Solution (KeyGen.cpp) to
*****************************
KEYGEN ME
By @Danofred
Powered by crackmes.one
Difficulty : 3.0
*****************************
Examples of the UserName/Key Pairs generated by this KeyGen:
JamesBond007 / de7n0s0dooo0
Cool-You-Did-It / t--Iiu-oi-ioi-Y
WhatsUpNext / WsaWpaNNptW
Thanks Danofred for the nice KeyGenMe to practice one's skill to make a KeyGen.
*/
#include
#include
char* keygen(char* UserName)
{
char Key[256] = "";
int UserNameLength;
int EncryptKeyLength;
int i;
EncryptKeyLength = strlen("tryHarderToMakeAGoodKeyGen"); // = 26
// ONLY length of the EncryptKey string matters! So the following will generate the same key as above.
// EncryptKeyLength = strlen("--------------------------"); // = 26
UserNameLength = strlen(UserName);
for (i = 0; i NameEntered;
std::cout |
==> |