#ifndef GENERATEKEYS_H #define GENERATEKEYS_H #include #include #include class GenerateKeys { public: typedef unsigned short unsignedShort; 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&); void checkRepetition(); 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{}; //KeySize show equal the value in key const int keySize{5}; const int totalCharacters{63}; char key[5]{}; }; #endif