\hypertarget{cypher_8cpp}{}\section{cypher.\+cpp File Reference}
\label{cypher_8cpp}\index{cypher.\+cpp@{cypher.\+cpp}}
{\ttfamily \#include $<$string$>$}\\*
{\ttfamily \#include $<$cassert$>$}\\*
{\ttfamily \#include $<$iostream$>$}\\*
{\ttfamily \#include $<$Q\+Debug$>$}\\*
{\ttfamily \#include \char`\"{}cypher.\+h\char`\"{}}\\*
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
string \hyperlink{cypher_8cpp_aee818f9db10b153b3067af5365a53806}{cypher} (string message, string key)
\begin{DoxyCompactList}\small\item\em Function that recives the plaintext message and the keyword provided by the user and encrypts the message. \end{DoxyCompactList}\item 
string \hyperlink{cypher_8cpp_af9f89bd41fe6c015e6589a0677e1d108}{decypher} (string m, string k)
\begin{DoxyCompactList}\small\item\em Function that deciphers Vigenere ciphertext, receives the ciphertext and the keyword and returns the plaintext. \end{DoxyCompactList}\item 
\hypertarget{cypher_8cpp_a56eea50b62dd8e9174463bce0b90d213}{}void \hyperlink{cypher_8cpp_a56eea50b62dd8e9174463bce0b90d213}{test\+\_\+cypher} ()\label{cypher_8cpp_a56eea50b62dd8e9174463bce0b90d213}

\begin{DoxyCompactList}\small\item\em Function to unit text the cypher function. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{cypher_8cpp_aee818f9db10b153b3067af5365a53806}{}\index{cypher.\+cpp@{cypher.\+cpp}!cypher@{cypher}}
\index{cypher@{cypher}!cypher.\+cpp@{cypher.\+cpp}}
\subsubsection[{cypher}]{\setlength{\rightskip}{0pt plus 5cm}string cypher (
\begin{DoxyParamCaption}
\item[{string}]{message, }
\item[{string}]{key}
\end{DoxyParamCaption}
)}\label{cypher_8cpp_aee818f9db10b153b3067af5365a53806}


Function that recives the plaintext message and the keyword provided by the user and encrypts the message. 


\begin{DoxyParams}{Parameters}
{\em message} & Message to be encrypted provided by the user \\
\hline
{\em key} & keyword that the user provides, used to encrypt plain text \\
\hline
\end{DoxyParams}
\hypertarget{cypher_8cpp_af9f89bd41fe6c015e6589a0677e1d108}{}\index{cypher.\+cpp@{cypher.\+cpp}!decypher@{decypher}}
\index{decypher@{decypher}!cypher.\+cpp@{cypher.\+cpp}}
\subsubsection[{decypher}]{\setlength{\rightskip}{0pt plus 5cm}string decypher (
\begin{DoxyParamCaption}
\item[{string}]{message, }
\item[{string}]{key}
\end{DoxyParamCaption}
)}\label{cypher_8cpp_af9f89bd41fe6c015e6589a0677e1d108}


Function that deciphers Vigenere ciphertext, receives the ciphertext and the keyword and returns the plaintext. 


\begin{DoxyParams}{Parameters}
{\em message} & Message to be encrypted provided by the user \\
\hline
{\em key} & keyword that the user provides, used to encrypt plain text \\
\hline
\end{DoxyParams}