<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Caragh Morahan on Medium]]></title>
        <description><![CDATA[Stories by Caragh Morahan on Medium]]></description>
        <link>https://medium.com/@morahancaragh?source=rss-347169a86532------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*pTVnWVGkNWbHWkKt</url>
            <title>Stories by Caragh Morahan on Medium</title>
            <link>https://medium.com/@morahancaragh?source=rss-347169a86532------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 14:47:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@morahancaragh/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Encrypted Warfare: How Cryptography Protects Modern Military Communications]]></title>
            <link>https://medium.com/@morahancaragh/encrypted-warfare-how-cryptography-protects-modern-military-communications-4b25ff8c9b4e?source=rss-347169a86532------2</link>
            <guid isPermaLink="false">https://medium.com/p/4b25ff8c9b4e</guid>
            <category><![CDATA[military-history]]></category>
            <category><![CDATA[encryption]]></category>
            <category><![CDATA[enigma-machine]]></category>
            <category><![CDATA[cryptography]]></category>
            <dc:creator><![CDATA[Caragh Morahan]]></dc:creator>
            <pubDate>Mon, 21 Oct 2024 05:21:20 GMT</pubDate>
            <atom:updated>2024-10-24T18:24:50.282Z</atom:updated>
            <content:encoded><![CDATA[<p>In the modern world, our reliance on services that process and transfer our sensitive data is ever increasing. From online banking to instant messaging, our data is being sent across the internet in hope that it arrives at our intended recipient, all while remaining private, protected and untouched. In the context of the internet and its services, the information we want to send securely consists of our personal details (e.g. Full name, date of birth, address), our credit card or banking information and confidential company secrets.</p><p>However, one context where the need to protect sensitive information takes an even greater precedence than that of our daily lives online, is in the context of the military, where the information transmitted outweighs the importance of details such as our home address and credit card number, instead ranging from strategic battle movements right up to nuclear control commands, and while the information in both of these contexts may differ greatly in terms of content, the means of how we ensure its secure transmission remains the same — using Cryptography.</p><h4>Cryptography and its history in the Military</h4><p>Cryptography refers to the “process of hiding or coding information so that only the person a message was intended for can read it” (<em>What is cryptography? definition, importance, types</em>, n.d.)<a href="#_edn1">[1]</a>. Cryptography makes use of encryption algorithms known as ciphers to encrypt sensitive information, as well as using hash functions and digital signatures to ensure the authenticity and integrity of both a message and its sender (<em>What is cryptography? definition, importance, types</em>, n.d.)<a href="#_edn1">[1]</a>. The use of cryptography in the military can be traced back to fifth century B.C. where ancient Spartans would scramble the order of the letters in their military communications using an early transposition cipher. This cipher involved writing an unreadable message on a strip of leather that would only become coherent when the strip was wound around a correctly sized wooden staff known as a ‘scytale’ (Schneider, <em>The history of Cryptography</em> 2024)<a href="#_edn2">[2]</a>, ensuring the message was read only by those who had this particular sized staff.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*VAVfZZEUkM51qRtSxOXFqQ.png" /><figcaption>Transposition cipher</figcaption></figure><p>Image source: <a href="https://www.forthright.com/wp-content/uploads/2020/10/Screen-Shot-2020-10-08-at-7.48.07-PM.png">here</a></p><p>Another application of cryptography in military operations which is perhaps more well-known is the use of the Enigma Machine in WWII, which was an encryption machine used by the Germans to transmit coded messages consisting of exact positions and times of infantry movements, reports on assaults and last known locations of Allied forces (<em>Enigma/sample messages</em> ,n.d.)<a href="#_edn3">[3]</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*TODucygd-PCCZChEQoKteA.png" /><figcaption>A report on the night activity of a German air force unit under the command of Unteroffizier Jaekal</figcaption></figure><p>Image and description source: <a href="https://bletchleypark.org.uk/wp-content/uploads/2022/02/945x805_8_CU04-945x700.jpg">here</a></p><p>The Enigma machine encrypted its messages using a form of ‘substitution cipher’, which is a cipher that takes a character of plain text from a given fixed set of characters and substitutes it with another character from the same set fixed of characters depending on a key (GeeksforGeeks, <em>Substitution cipher</em> 2024)<a href="#_edn4">[4]</a>. Enigma operators would input the message they wanted to send on the keyboard letter by letter, with the substituted letter lighting up on the machine after each key was pressed. They would then write down each letter that lit up to form the encrypted version of the message. These messages would then be sent to other Enigma operators via morse code, who had their own Enigma machine that was set up with the same configuration as the sender’s machine. After typing in each letter of the encrypted message, the receiving operator would then get the decrypted version of the message, allowing for a virtually indecipherable way of transmitting sensitive information between German forces (says et al., <em>Cracking stuff: How Turing beat the Enigma</em> 2023)<a href="#_edn5">[5]</a>.</p><p>This form of message encryption was made possible due to two important features of the Enigma, which were the Plugboard and the Rotor. The plug board had ten wires, with each wire having two ends that are plugged into a slot on the plug board, so plugging in one end of the wire into the slot for the letter A and the other end of the wire into the slot for the letter V means that these letters have now swapped — A now becoming V and vice versa. For example, the particular plug board settings for one day might be ‘P/C — W/B — T/O — E/K — R/Z — A/M’. This means that typing the word “WATER” into the Enigma would produce the encoded version “BMOKZ” (<em>Enigma machine: Brilliant Math &amp; Science Wiki</em> , n.d.)<a href="#_edn6">[6]</a>.</p><p>The Enigma machine also consisted of a minimum of 3 rotors, with each rotor having 26 letter/number values, corresponding to each letter of the alphabet. After typing a letter on the keyboard, the rotors would rotate to produce a new set of three letters/numbers, ensuring the scrambling of a particular letter would be different each time, so even if you pressed the same key twice, you would get a different result each time (<em>Enigma machine: Brilliant Math &amp; Science Wiki</em> , n.d.)<a href="#_edn6">[6]</a>. To add to this complexity, each month the Enigma operators received ‘codebooks’ that instructed operators on how to set up the machine each day, which meant that every day there was a different configuration for the plug board connections and a different set of rotors to be used in the Enigma. The combination of the plug board and the rotors meant that there was over “150 million million million possible combinations” (says et al., <em>Cracking stuff: How Turing beat the Enigma</em> 2023)<a href="#_edn5">[5]</a> for each message transmitted using the Enigma, which is why it is still one of the most famous examples of cryptography in military history.</p><p>A demonstration of the Enigma: <a href="https://youtu.be/-mdSvGUd0_c?si=DZMDqX6-zgZjubLU">https://youtu.be/-mdSvGUd0_c?si=DZMDqX6-zgZjubLU</a></p><h4>Secure Communications in Modern Militaries: How is it done?</h4><h4>AES-256</h4><p>The machines and methods used to encrypt messages in the previous examples stand as a testament to the technology of their time, and in the present day, we have only continued to improve and advance upon these methods, resulting in the creation of the Advanced Encryption Standard (AES) 256, commonly referred to as military grade encryption. AES-256 is a symmetric encryption algorithm, meaning that only “one key is used to encrypt and decrypt electronic data” (Cryptomathic, <em>Symmetric key encryption — why, where and how it’s used in banking</em> 2024)<a href="#_edn7">[7]</a>. The ‘key’ we are referring to here is a “string of specifically organized bits designed to unscramble and decipher encrypted data” (<em>Encryption keys</em> , n.d.)<a href="#_edn8">[8]</a>, that both the sender and receiver agree to use to encrypt/decrypt the data. These keys must also be unique for each piece of data that is shared, and in AES encryption algorithms, these keys can vary in size either being 128, 192 or 256 bits (Srėbaliūtė, <em>AES encryption: What is it &amp; how does it safeguard your data?</em> 2024)<a href="#_edn9">[9]</a>, hence the name “AES-256”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/374/1*b7um5ikybE8v3lrOvIq7Yw.png" /></figure><p>Image source: <a href="https://www.techtarget.com/rms/onlineImages/security-aes_design.jpg">here</a></p><p>Two important components of AES are the block size and the key size, where AES processes data in fixed length blocks, and supports key sizes of 128, 192 or 256 bits (Srėbaliūtė, <em>AES encryption: What is it &amp; how does it safeguard your data?</em> 2024)<a href="#_edn9">[9]</a>. We can then describe the inner working of AES encryption using steps (For this example, we are using the flow of a sender wanting to encrypt some data with a key size of 256 bits):</p><h4>Step 1</h4><p>The input (plaintext) is divided into fixed length blocks of 128 bits (if the data isn’t a multiple of 128 bits, padding is added to make it fill the length of the block).</p><h4>Step 2</h4><p>The initial key (the key passed by the sender to encrypt the data) is expanded into 60 32-bit words for 256-bit keys (for keys with 128 or 192 bits, the key is expanded into 44 or 52 32-bit words).</p><ul><li>This initial key expansion also creates round keys, which are derived from the initial key for each round of encryption the data will go through.</li><li>For example, 256-bit keys will undergo 14 rounds of encryption (Awati et al., <em>What is the Advanced Encryption Standard (AES)?: Definition from TechTarget</em> 2024)<a href="#_edn10">[10]</a>, so there will be a key created for each round, as well as initial round key.</li></ul><p>The steps below are then followed by each block we made in Step 1, sequentially. (Jena, <em>AES encryption: Secure Data with Advanced Encryption Standard</em> 2024)<a href="#_edn11">[11]</a></p><h4>Step 3</h4><p>The input block is mixed with the initial round key using the XOR operation</p><ul><li>Where for each bit of the input block data, if the corresponding bit in the key is 1, the bit in the input block is flipped (0 becomes 1, and 1 becomes 0) (<em>FIPS 197 — nvlpubs.​nist.​gov</em> , n.d.)<a href="#_edn12">[12]</a>.</li><li>If this the corresponding bit in the key is 0, the bit in the input block remains the same. (FIPS 197 — nvlpubs.nist.gov , n.d.) <a href="#_edn12">[12]</a>.</li></ul><h4>Step 4</h4><p>The result of step 3 then undergoes 4 transformations</p><p>1. <strong>Sub Bytes</strong> — Where each byte in the block is replaced with its corresponding byte in the S-box, which is a “precomputed look up table” (Gangadari &amp; Rafi Ahamed, 2016)<a href="#_edn13">[13]</a>. To do this, each byte is converted to a hexadecimal, and then using this value, we can then look up the substitute value in the S-box (Jena, <em>AES encryption: Secure Data with Advanced Encryption Standard</em> 2024)<a href="#_edn11">[11]</a>.</p><p>§ For example, if we had the hexadecimal value 34, the substitute value would be 18, the value at row 3, column 4.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/683/1*I5wcEPm_6GnH6K_y4kijCw.png" /><figcaption>S-box: precomputed lookup table</figcaption></figure><p>Image source: <a href="https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.197.pdf">here</a></p><p>2. <strong>Shift Rows</strong> — The bytes in the rows of the resulting block from the previous transformation are then shifted to the left with bytes on the on the first row being ignored, bytes on the second row shifting one space to the left, the third row shifting two spaces to the left etc (Jena, <em>AES encryption: Secure Data with Advanced Encryption Standard</em> 2024)<a href="#_edn11">[11]</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/675/1*OvdD7w9K9FGID-DM8s-2DQ.png" /><figcaption>Shift Row Illustration</figcaption></figure><p>Image source: <a href="https://www.simplilearn.com/ice9/free_resources_article_thumb/shiftrows-aes_encryption.png">here</a></p><p>3. <strong>Mix Columns</strong> — Each column in the block is then multiplied with a constant matrix to get a new column, which when completed forms the new block for the next step (Jena, <em>AES encryption: Secure Data with Advanced Encryption Standard</em> 2024)11.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*yeEFNpjmewMDk50OQgWZMA.png" /><figcaption>Mix Columns Illustration</figcaption></figure><p>Image source: <a href="https://www.simplilearn.com/ice9/free_resources_article_thumb/mixcolumns.png">here</a></p><p>4. <strong>Add Round Key</strong> — The result of the previous transformation is then combined with the key associated with this particular round, similar to the 3rd step outlined above.</p><ul><li>If this is the last round, we preform a final round without performing the Mix Columns transformation, if not, we continue on to the next round of transformations! (Srėbaliūtė, <em>AES encryption: What is it &amp; how does it safeguard your data?</em> 2024)<a href="#_ednref9">[9]</a>.</li></ul><h4>Final Step</h4><p>The outputted bits from these rounds of encryption then represent the input block, which was plaintext, as ciphertext! Decryption is then preformed in the opposite order with a reverse order of operations (Srėbaliūtė, <em>AES encryption: What is it &amp; how does it safeguard your data?</em> 2024)<a href="#_ednref9">[9]</a>.</p><h4>Applications of AES Encryption</h4><p>As we saw in the explanation above, AES encryption has shown to be extremely secure due to the repetitive rounds of encryption it carries out, as well as providing varying levels of encryption strength with 128, 192 or 256-bit keys. AES is also an open-source standard, meaning that it can be implemented by anyone in any software/hardware system! (Srėbaliūtė, <em>AES encryption: What is it &amp; how does it safeguard your data?</em> 2024)<a href="#_ednref9">[9]</a>. Due to its security and flexibility, AES encryption is currently being used as the encryption standard of tech giants such as AWS, Oracle and IBM, as well as encrypting data for both Google Cloud and WhatsApp (<em>Everything you need to know about AES-256 encryption</em> 2024)<a href="#_edn14">[14]</a>.</p><p>More relevant to this articles topic however is the application of AES encryption in the military, specifically the US military, which can be seen in the release of a ‘Cybersecurity Advisory’ document by the National Security Agency (NSA). The NSA is an “intelligence agency within the Department of Defence that is responsible for cryptographic and communications intelligence and security” (<em>National Security Agency</em> 2024)<a href="#_edn15">[15]</a>, who released the “Commercial National Security Algorithm Suite 2.0” in September of 2022. This advisory is targeted towards the owners, operators and vendors of both unclassified and classified National Security Systems (NSS), stating that “now is the time to plan, prepare and budget for an effective transition to quantum-resistant algorithms, to assure the continued protection of NSS’s and related systems” (<em>Announcing the commercial national security algorithm …</em> , n.d.)<a href="#_edn16">[16]</a>, and in order to achieve this, they have listed AES as one of the standards for symmetric-key algorithms within NSS’s, demonstrating its high levels of security and unbreakable encryption technique in the face of future threats.</p><p>However, AES has been acknowledged as the standard for protecting electronic data within governmental and federal bodies for over two decades now, with the issuing of the Federal Information Processing Standards Publication (FIPS PUBS) by the National Institute of Standards and Technology (NIST), naming AES as the “Computer Security Standard” for Federal agencies or departments in the US (FIPS 197 — nvlpubs.nist.gov , n.d.) <a href="#_edn12">[12]</a>.</p><h4>Conclusion</h4><p>Throughout history, we have seen that cryptography has played a major part on the frontlines — securing the transmission of battlefield operations and troop movements, concealing the broadcasted locations of allied or enemy troops and scrambling attack strategies. With its roots deep in secure military communication, we can see how cryptology progressed as wartime technology evolved, going from message ciphers on pieces of leather to 256-bit key algorithms providing unbreakable encryption, and how it continues to remain a crucial aspect of the process to ensure the confidentiality, security and integrity of information, be it in the realm of the military or the internet of things.</p><h3>References</h3><p><a href="#_ednref1">[1]</a> <em>What is cryptography? definition, importance, types</em> (no date) <em>Fortinet</em>. Available at: <a href="https://www.fortinet.com/resources/cyberglossary/what-is-cryptography">https://www.fortinet.com/resources/cyberglossary/what-is-cryptography</a> (Accessed: 18 October 2024).</p><p><a href="#_ednref2">[2]</a> Schneider, J. (2024) <em>The history of Cryptography</em>, <em>IBM</em>. Available at: <a href="https://www.ibm.com/think/topics/cryptography-history">https://www.ibm.com/think/topics/cryptography-history</a> (Accessed: 18 October 2024).</p><p><a href="#_ednref3">[3]</a> <em>Enigma/sample messages</em> (no date) <em>Enigma/Sample Messages — Franklin Heath Ltd Wiki</em>. Available at: <a href="http://wiki.franklinheath.co.uk/index.php/Enigma/Sample_Messages%23Operation_Barbarossa.2C_1941">http://wiki.franklinheath.co.uk/index.php/Enigma/Sample_Messages#Operation_Barbarossa.2C_1941</a> (Accessed: 18 October 2024).</p><p><a href="#_ednref4">[4]</a> GeeksforGeeks (2024) <em>Substitution cipher</em>, <em>GeeksforGeeks</em>. Available at: <a href="https://www.geeksforgeeks.org/substitution-cipher/">https://www.geeksforgeeks.org/substitution-cipher/</a> (Accessed: 19 October 2024).</p><p><a href="#_ednref5">[5]</a> says, B.M. <em>et al.</em> (2023) <em>Cracking stuff: How Turing beat the Enigma</em>, <em>Science and Engineering</em>. Available at: <a href="https://www.mub.eps.manchester.ac.uk/science-engineering/2018/11/28/cracking-stuff-how-turing-beat-the-enigma/">https://www.mub.eps.manchester.ac.uk/science-engineering/2018/11/28/cracking-stuff-how-turing-beat-the-enigma/</a> (Accessed: 19 October 2024).</p><p><a href="#_ednref6">[6]</a> <em>Enigma machine: Brilliant Math &amp; Science Wiki</em> (no date) <em>Brilliant</em>. Available at: <a href="https://brilliant.org/wiki/enigma-machine/">https://brilliant.org/wiki/enigma-machine/</a> (Accessed: 19 October 2024).</p><p><a href="#_ednref7">[7]</a> Cryptomathic (2024) <em>Symmetric key encryption — why, where and how it’s used in banking</em>, <em>Secure Cryptographic Solutions</em>. Available at: <a href="https://www.cryptomathic.com/blog/symmetric-key-encryption-why-where-and-how-its-used-in-banking">https://www.cryptomathic.com/blog/symmetric-key-encryption-why-where-and-how-its-used-in-banking</a> (Accessed: 19 October 2024).</p><p><a href="#_ednref8">[8]</a> <em>Encryption keys</em> (no date) <em>Precisely</em>. Available at: <a href="https://www.precisely.com/glossary/encryption-keys">https://www.precisely.com/glossary/encryption-keys</a> (Accessed: 20 October 2024).</p><p><a href="#_ednref9">[9]</a> Srėbaliūtė, A. (2024) <em>AES encryption: What is it &amp; how does it safeguard your data?</em>, <em>NordLayer</em>. Available at: <a href="https://nordlayer.com/blog/aes-encryption/">https://nordlayer.com/blog/aes-encryption/</a> (Accessed: 20 October 2024).</p><p><a href="#_ednref10">[10]</a> Awati, R., Bernstein, C. and Cobb, M. (2024) <em>What is the Advanced Encryption Standard (AES)?: Definition from TechTarget</em>, <em>Security</em>. Available at: <a href="https://www.techtarget.com/searchsecurity/definition/Advanced-Encryption-Standard">https://www.techtarget.com/searchsecurity/definition/Advanced-Encryption-Standard</a> (Accessed: 20 October 2024).</p><p><a href="#_ednref11">[11]</a> Jena, B.K. (2024) <em>AES encryption: Secure Data with Advanced Encryption Standard</em>, <em>Simplilearn.com</em>. Available at: <a href="https://www.simplilearn.com/tutorials/cryptography-tutorial/aes-encryption">https://www.simplilearn.com/tutorials/cryptography-tutorial/aes-encryption</a> (Accessed: 20 October 2024).</p><p><a href="#_ednref12">[12]</a> (No date) <em>FIPS 197 — nvlpubs.​nist.​gov</em>. Available at: <a href="https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.197.pdf">https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.197.pdf</a> (Accessed: 20 October 2024).</p><p><a href="#_ednref13">[13]</a> Gangadari, B.R. and Rafi Ahamed, S. (2016) <em>Design of cryptographically secure AES like S-box using second-order reversible cellular automata for Wireless Body Area Network Applications</em>, <em>Healthcare technology letters</em>. Available at: <a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC5048383/#s1">https://pmc.ncbi.nlm.nih.gov/articles/PMC5048383/#s1</a> (Accessed: 20 October 2024).</p><p><a href="#_ednref14">[14]</a> <em>Everything you need to know about AES-256 encryption</em> (2024) <em>Kiteworks</em>. Available at: <a href="https://www.kiteworks.com/risk-compliance-glossary/aes-256-encryption/">https://www.kiteworks.com/risk-compliance-glossary/aes-256-encryption/</a> (Accessed: 20 October 2024).</p><p><a href="#_ednref15">[15]</a> <em>National Security Agency</em> (2024) <em>Encyclopædia Britannica</em>. Available at: <a href="https://www.britannica.com/topic/National-Security-Agency">https://www.britannica.com/topic/National-Security-Agency</a> (Accessed: 20 October 2024).</p><p><a href="#_ednref16">[16]</a> (No date) <em>Announcing the commercial national security algorithm …</em> Available at: <a href="https://media.defense.gov/2022/Sep/07/2003071834/-1/-1/0/CSA_CNSA_2.0_ALGORITHMS_.PDF">https://media.defense.gov/2022/Sep/07/2003071834/-1/-1/0/CSA_CNSA_2.0_ALGORITHMS_.PDF</a> (Accessed: 20 October 2024).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b25ff8c9b4e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>