Which Cipher Is Represented By The Following Functionp Pre #7

Which cipher is represented by the following function?</p> <pre><code class="language-c"> void Cipher(string msg, string key) { // Get key matrix from the key string int keyMat[3][3]; getKeyMatrix(key, keyMat); int msgVector[3][1]; for (int i = 0; i <=2; i++) msgVector[i][0] = (msg[i]) % 65; int cipherMat[3][1]; // Following function generates // the encrypted vector encrypt(cipherMat, keyMat, msgVector); string CipherText; for (int i = 0; i <=2; i++) CipherText += cipherMat[i][0] + 65; cout << CipherText; } </code></pre>

Online Quiz This multiple choice question (MCQ) is related to the book/course gs gs122 Data Communication and Computer Network. It can also be found in gs gs122 Cryptography - Polyalphabetic Cipher - Quiz No.1.


Similar question(s) are as followings:



Online Quizzes of gs122 Data Communication and Computer Network

Choose an organization

Theme Customizer

Gaussian Texture



Gradient Background