<?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[Computer Security - Medium]]></title>
        <description><![CDATA[In this series we will discuss about various security concepts which will help you protect your data and system. - Medium]]></description>
        <link>https://medium.com/computer-security?source=rss----8fe935355948---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Computer Security - Medium</title>
            <link>https://medium.com/computer-security?source=rss----8fe935355948---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 10:09:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/computer-security" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Confidentiality with Encryption]]></title>
            <link>https://medium.com/computer-security/confidentiality-with-encryption-639e399d6d73?source=rss----8fe935355948---4</link>
            <guid isPermaLink="false">https://medium.com/p/639e399d6d73</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[pki]]></category>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[encryption]]></category>
            <category><![CDATA[cryptography]]></category>
            <dc:creator><![CDATA[Randhir Ray]]></dc:creator>
            <pubDate>Sat, 16 Nov 2019 20:15:50 GMT</pubDate>
            <atom:updated>2019-11-17T04:39:55.376Z</atom:updated>
            <content:encoded><![CDATA[<p>We already discussed a bit about encryption in our previous article. So at least many of us now know about cipher texts. No worries even if you don’t know. Let’s dive a little deep into this topic here.</p><p>Let me introduce you to the two well known personality in security paradigm, Alice and Bob. Both of them are working on a super secret mission called Phantom. They don’t discuss anything about the mission on phone calls. Both of them agreed upon communication through handwritten letters. They decided a secret place where the letter could be dropped and received. The idea worked well for a few months. But then Mr Eve got hired by an agency which was trying to steal the conversation between Alice and Bob. Mr Eve, smart enough, was able to find the secret place where the letters used to be dropped and received. And the consequence, mission Phantom started facing serious setbacks.</p><p>Alice and Bob had to revise their strategy now. They did some brainstorming and came up with an excellent idea. Both of them went to market and bought a robust, strong and unbreakable box made up of <strong>Vibranium </strong>(For those who don’t know, Captain America’s shield was made up of this material) and a lock made up of same material with <strong><em>two</em></strong> keys. Each of them was in possession of a key now. Whenever Alice has to send some message to Bob, he would write a letter, keep the letter in the box and lock the box using the key and lock he possessed. The next task was to courier or post the box to Bob. Once received, Bob would use the key he possessed to open the lock (because the lock worked only with two keys, one with Alice and the other with Bob), take out the letter from the box and read the message. And Bob would do the vice versa if he wanted to send any message to Alice.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mzYvIic577-SRihVl5FM4g.jpeg" /></figure><p>Mr Eve was helpless now. Why ?</p><p>He tried stealing the box a few times and open the lock, but all in vain. Because the lock could only be operated upon by the two keys that came along with it. And since the box and lock was impossible to tamper with, the poor guy couldn’t read the messages even after stealing.</p><p>This whole process where the message from Alice to Bob was a secret and could only be read by Bob is called confidentiality. And how this confidentiality is achieved? By Encryption of course.</p><p><strong>What is Encryption ?</strong></p><p>Process of converting a plaintext to a ciphertext (a random text which has no meaning ). The ciphertext has information about the plaintext, but nobody without proper authorisation can get that information.</p><p><strong>And who is authorised to get that information?</strong></p><p>Anybody who has the key to decrypt the information.</p><p>In the above example, Alice and Bob used to hide their letters into the box and lock it using their key. The box contained the letter, Mr Eve knew that. But he couldn’t get that letter from the box because he wasn’t authorised for that. Why he wasn’t authorised? Because he didn’t have the key to the lock.</p><p>Alice would use a key to encrypt his message. Bob would use his own key to decrypt the message. Mr Eve, even though he steal the encrypted message, couldn’t do anything with that because he couldn’t decrypt the message by any means. And remember, the encryption used was so strong that it couldn’t be break.</p><p>With the information above, I hope everybody understands encryption now. Of course there would be many questions like..</p><p>What would be the key in computing world?</p><p>How the plaintext would be converted to ciphertext using that key?</p><p>Would the same key which was used for encryption be used for decryption too?</p><p>I am gonna answer all that in the next article of this series. Stay tuned….</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=639e399d6d73" width="1" height="1" alt=""><hr><p><a href="https://medium.com/computer-security/confidentiality-with-encryption-639e399d6d73">Confidentiality with Encryption</a> was originally published in <a href="https://medium.com/computer-security">Computer Security</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Encryption, Hashing and Encoding]]></title>
            <link>https://medium.com/computer-security/encryption-hashing-and-encoding-f9749be00f9?source=rss----8fe935355948---4</link>
            <guid isPermaLink="false">https://medium.com/p/f9749be00f9</guid>
            <category><![CDATA[hashing]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[encryption]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Randhir Ray]]></dc:creator>
            <pubDate>Sat, 09 Nov 2019 12:11:49 GMT</pubDate>
            <atom:updated>2019-11-09T12:11:49.124Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*US69Dl6UlgYDT7s9RnMeMg.jpeg" /></figure><p>In my school days I always somehow believed that Encryption and Encoding are just synonyms of one another. With time I realised how different these words where from one another. But then I got introduced to a new word ‘hashing’. It was almost similar to ‘encryption’ again.</p><p>Today in this 1st part of security series, let us discuss the basic difference between them. Then we will understand the use of each of them.</p><p><strong>Encoding:</strong></p><p>Encoding is the process of converting data into some other format for proper and correct communication. If we encode a message and send it, it guarantees that same message will be interpreted by the receiver. Data travels through wire in binary format ie. 0 &amp; 1. When we send a binary data (such as image) over the network to some other computer, and we don’t encode it, the receiving computer might interpret a few characters differently. Since the sender and receiver didn’t agree on any encoding/decoding techniques, some special characters are interpreted differently by the receiver.</p><p>So Encoding is basically used for proper communication techniques, so that data should not be interpreted to something else.</p><p><strong>Encryption:</strong></p><p>It is the process of converting data into some other format so that only authorised user can be able to read the original content from that converted format. Its basically a way of converting plaintext to cipher text. Ciper text is the result of an algorithm/mathematical computation applied on the plain text in amalgamation with a secret key.</p><p>Suppose I have to encrypt the word ‘Hello’. Let’s say I will use the word ‘Hi’ as the secret key . After performing a basic computation I can come up with the word ‘HHieHilHilHioHi’. This final word was nothing than the cipher text. Anybody who knows that a secret key ‘Hi’ was used to form the cipher text, could derive the word ‘Hello’ from it. This process of deriving the original message is called Decryption.</p><p>There can be a situation when somebody doesn’t know the secret key, but by any mean comes to know that (It can be simple guess in our immature example), he/she can decrypt our encrypted message. Such people are called as ‘Adversary’ in Computer Security paradigm. (More on this later)</p><p><strong>Hashing:</strong></p><p>Hashing in a layman term can be called as one way encryption. By one way we mean that we cannot decrypt the cipher text back again. Remember we are talking about Cryptographic Hashing here, not to be confused with hashing used in Hash data structure.</p><p>Hashing is the process of applying a mathematical computation on a piece of data of arbitrary size and converting into a fixed length random unreadable data. This fixed length data can be called as hash, Message Digest or Digital Fingerprint. This Message Digest cannot be converted back to the original content unlike it can be done with Encryption.</p><p>Let wrap up this 1st part here. I have holistically tried to explain the basic difference between these three terminologies used in computing. Since this is a Security topic, we will discuss more on Encryption and Hashing later.</p><p>If you have any question, do write to me.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9749be00f9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/computer-security/encryption-hashing-and-encoding-f9749be00f9">Encryption, Hashing and Encoding</a> was originally published in <a href="https://medium.com/computer-security">Computer Security</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>