Addressed Issue #10
This commit is contained in:
@@ -25,6 +25,7 @@ public:
|
||||
void setupEncryptedMessage(const S&);
|
||||
void setupDecryptedMessage(const S&);
|
||||
void setupPasswordFilename();
|
||||
void setupPasswordFilename(const S&);
|
||||
void setupDate();
|
||||
S retrieveEncryptedMessage() const;
|
||||
S retrieveDecryptedMessage() const;
|
||||
@@ -59,6 +60,14 @@ void Password<S>::setupPasswordFilename()
|
||||
}
|
||||
}
|
||||
template<typename S>
|
||||
void Password<S>::setupPasswordFilename(const S& fin)
|
||||
{
|
||||
for (auto passwordNameDoesNotExist = true; passwordNameDoesNotExist; passwordNameDoesNotExist = repetitive())
|
||||
{
|
||||
filename.assign(fin);
|
||||
}
|
||||
}
|
||||
template<typename S>
|
||||
S Password<S>::retrieveEncryptedMessage() const { return encryptedMessage; }
|
||||
template<typename S>
|
||||
S Password<S>::retrieveDecryptedMessage() const { return decryptedMessage; }
|
||||
|
||||
Reference in New Issue
Block a user