#ifndef GENERATEKEYS_H #define GENERATEKEYS_H #include #include #include class GenerateKeys { public: GenerateKeys(); ~GenerateKeys(); void populateDecryptedValues(); void populateEncryptedValues(); void keyMove(); void keyDump(); friend class Encryption; friend class Decryption; friend class KeyManagementWindow; private: void populateSymbols(); void populateNumbers(); void populateLetters(); void addRange(std::vector&, int, const int); void generateKey(std::string&, const int&); bool isThereRepetition(); void print(const std::vector&); char getChar(std::vector&); std::vector keys{}; std::vector symbols; std::vector numbers; std::vector letters; std::vector allCharacters; std::map encryptedCharacters{}; std::map decryptedCharacters{}; std::string defaultKeyFileName{"default_keys.txt"}; //KeySize show equal the value in key const int keySize{5}; const int totalCharacters{63}; char key[5]{}; }; #endif