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/Encryption.h
T

28 lines
608 B
C++

#ifndef ENCRYPTION_H
#define ENCRYPTION_H
#include<string>
#include<map>
#include"Cryption.h"
class Encryption : public Cryption
{
public:
Encryption() = default;
~Encryption() = default;
Encryption(const std::string&);
void setEncryptedMessage(const std::string&);
void setMessage(const std::string&) override;
void encryptMessage();
std::string getEncryptedMessage() const;
std::string getMessage() const override;
std::map<char, std::string> encryptedCharactersStructure();
private:
void setupMap();
std::string encryptedMessage;
std::map<char, std::string> encryptedCharacters;
};
#endif