mirror of
https://bitbucket.org/Mattrixwv/cipherstream.git
synced 2025-12-06 18:33:58 -05:00
Added version information for all classes
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//Ciphers/SourceFiles/Autokey.cpp
|
||||
//Matthew Ellison
|
||||
// Created: 5-3-18
|
||||
//Modified: 5-5-18
|
||||
//Modified: 5-16-18
|
||||
//This file contains the implementation of the Autokey class
|
||||
|
||||
|
||||
@@ -9,6 +9,12 @@
|
||||
#include <string>
|
||||
|
||||
|
||||
/**
|
||||
* @brief The current library's version number
|
||||
*
|
||||
*/
|
||||
const std::string Vigenere::version = "1.0";
|
||||
|
||||
/**
|
||||
* @brief Construct a new Autokey object
|
||||
*
|
||||
@@ -137,4 +143,13 @@ std::string Autokey::decode(std::string key, std::string input){
|
||||
setInputString(input);
|
||||
decodeSet(key, input); //Decoding is a bit different because part of the key is also part of the original message
|
||||
return Autokey::decode();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Returns a string containing the version information
|
||||
*
|
||||
* @return The version information
|
||||
*/
|
||||
std::string Autokey::getVersion(){
|
||||
return version;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user