This repository has been archived on 2026-07-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
PasswordEncryption/KeyRetrieval.h
T
amazing-username cec1e0bbb6 Code cleanup
2018-02-26 22:01:00 -06:00

34 lines
605 B
C++

#ifndef KEYRETRIEVAL_H
#define KEYRETRIEVAL_H
#include<fstream>
#include<vector>
#include<list>
#include"Key.h"
using std::fstream;
class KeyRetrieval
{
public:
KeyRetrieval();
KeyRetrieval(const string);
KeyRetrieval(const Key<>&);
~KeyRetrieval() = default;
void retrieveKey();
void addToList();
void addRange(int, const int);
void fileNameChoice(const string&);
vector<string> keyStructure();
vector<int> codeCharacterStructure();
private:
string fileName{"default_keys.txt"};
vector<string> keys;
vector<char> characters;
vector<int> codeCharacter;
const int keySize{5};
};
#endif