<?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"><channel><title><![CDATA[CS315 Assignment 2 Solution and Discussion]]></title><description><![CDATA[<pre><code> Assignment No. 02
</code></pre>
<p dir="auto">Semester: Fall 2019<br />
Network Security-CS315 	Total Marks: 20</p>
<p dir="auto">Due Date: 28/11/2019</p>
<p dir="auto">Instructions:<br />
Please read the following instructions carefully before submitting assignment:</p>
<p dir="auto">You need to use MS word document to prepare and submit the assignment on VU-LMS.<br />
It should be clear that your assignment will not get any credit if:</p>
<p dir="auto">	The assignment is submitted after due date.<br />
	The assignment is not in the required format (doc or docx).<br />
	The submitted assignment does not open or file is corrupt.<br />
	Assignment is copied (partial or full) from any source (websites, forums, students, etc.).</p>
<p dir="auto">Objective:</p>
<p dir="auto">To enhance the knowledge about Cryptographic techniques involving symmetric and asymmetric algorithms.</p>
<p dir="auto">Assignment</p>
<p dir="auto">Question No.1:                                                                                                                                         10 Marks</p>
<p dir="auto">Message authentication in “One-way Hash” function can be implemented with and without encryption. Considering the scenario where a message is authenticated without encryption between two stations, you are required to answer the following questions:</p>
<p dir="auto">a)	What will be component of the message sent from station A and received at station B?<br />
b)	What component of the message will ensure at receiving station that message is not corrupted?</p>
<p dir="auto">Question No.2:                                                                                                                                         10 Marks</p>
<p dir="auto">Cryptography is usually done by using Symmetric and Asymmetric encryption algorithms like Public-key encryption algorithms and Hash functions respectively. How would you differentiate Public-key encryption algorithms and Hash functions on the basis of following?</p>
<p dir="auto">a)	 Mechanism of mathematical operations.<br />
b)	 Number of keys being used for cryptography.</p>
<p dir="auto">Best of Luck!</p>
]]></description><link>https://community.secnto.com//topic/1173/cs315-assignment-2-solution-and-discussion</link><generator>RSS for Node</generator><lastBuildDate>Tue, 09 Jun 2026 00:13:11 GMT</lastBuildDate><atom:link href="https://community.secnto.com//topic/1173.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 23 Jan 2020 13:07:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CS315 Assignment 2 Solution and Discussion on Fri, 24 Jan 2020 08:21:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zareen" aria-label="Profile: zareen">@<bdi>zareen</bdi></a> said in <a href="/post/3080">CS315 Assignment 2 Solution and Discussion</a>:</p>
<blockquote>
<p dir="auto">b)	 Number of keys being used for cryptography.</p>
</blockquote>
<p dir="auto">Although symmetric key cryptography makes use of only one key, asymmetric key cryptography, also known as public key cryptography, utilizes two keys: a public key and a private key. The public key is used to encrypt data sent from the sender to the receiver and is shared with everyone.</p>
<p dir="auto">Public and Private Key Concept in Encryption</p>
<ol>
<li>
<p dir="auto">Secret key cryptography (symmetrical encryption): Both the sender and receiver must use the same key to encrypt and decrypt messages being sent. This imposes a security risk as we need to deliver the key to the recipient of the message in a secure way to make him/her able to decrypt the message. If an intruder gets hold of the key somehow, he/she will be able to decrypt the secret message and thus compromise the whole operation.</p>
</li>
<li>
<p dir="auto">Public key cryptography (asymmetrical encryption): In this method we use two keys, one for encryption and the second for decryption. A user will use his/her friend’s public key to encrypt the message. The receiver will use a private key (which should be kept secret) in order to decrypt this message when needed. The public key is used to encrypt plain text or to verify a digital signature, whereas the private key is used to decrypt cipher text or to create a digital signature. Messages encrypted with the public key can only be decrypted using the associated private key pair.</p>
</li>
</ol>
<p dir="auto"><a href="https://www.sciencedirect.com/topics/computer-science/key-cryptography" target="_blank" rel="noopener noreferrer nofollow ugc">Source</a></p>
]]></description><link>https://community.secnto.com//post/3147</link><guid isPermaLink="true">https://community.secnto.com//post/3147</guid><dc:creator><![CDATA[zareen]]></dc:creator><pubDate>Fri, 24 Jan 2020 08:21:48 GMT</pubDate></item><item><title><![CDATA[Reply to CS315 Assignment 2 Solution and Discussion on Fri, 24 Jan 2020 08:19:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zareen" aria-label="Profile: zareen">@<bdi>zareen</bdi></a> said in <a href="/post/3080">CS315 Assignment 2 Solution and Discussion</a>:</p>
<blockquote>
<p dir="auto">a)	 Mechanism of mathematical operations.</p>
</blockquote>
<p dir="auto">The “operations” are addition, subtraction, multiplication, division, exponentiation, and grouping; the “order” of these operations states which operations take precedence (are taken care of) before which other operations. … Exponents.</p>
]]></description><link>https://community.secnto.com//post/3146</link><guid isPermaLink="true">https://community.secnto.com//post/3146</guid><dc:creator><![CDATA[zareen]]></dc:creator><pubDate>Fri, 24 Jan 2020 08:19:50 GMT</pubDate></item><item><title><![CDATA[Reply to CS315 Assignment 2 Solution and Discussion on Fri, 24 Jan 2020 08:14:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zareen" aria-label="Profile: zareen">@<bdi>zareen</bdi></a> said in <a href="/post/3080">CS315 Assignment 2 Solution and Discussion</a>:</p>
<blockquote>
<p dir="auto">b)	What component of the message will ensure at receiving station that message is not corrupted?</p>
</blockquote>
<p dir="auto">that enable the master station to ensure that the message has not been corrupted during transmission. … At the receiving end, the modem converts the keying frequencies into d.c. pulses and the serial—parallel converter module reassembles the message into a parallel word including the … Each part system is completely independent of the others; thus they effectively operate in parallel. … To decrease this time, either the number of RTUs in the part system B vs [+] DT) \ // C \ RTU [T].</p>
<p dir="auto"><a href="((https://books.google.com.pk/books?id=5jOblzV5eZ8C&amp;pg=SA40-PA9&amp;dq=b)+What+component+of+the+message+will+ensure+at+receiving+station+that+message+is+not+corrupted?&amp;hl=en&amp;sa=X&amp;ved=0ahUKEwj-7sH45JvnAhWQ5aQKHQ1jAm4Q6AEIJjAA#v=onepage&amp;q=b)%20What%20component%20of%20the%20message%20will%20ensure%20at%20receiving%20station%20that%20message%20is%20not%20corrupted%3F&amp;f=false">Book</a></p>
]]></description><link>https://community.secnto.com//post/3145</link><guid isPermaLink="true">https://community.secnto.com//post/3145</guid><dc:creator><![CDATA[zareen]]></dc:creator><pubDate>Fri, 24 Jan 2020 08:14:36 GMT</pubDate></item><item><title><![CDATA[Reply to CS315 Assignment 2 Solution and Discussion on Fri, 24 Jan 2020 08:10:21 GMT]]></title><description><![CDATA[<p dir="auto">Q.1<br />
<img src="https://i.imgur.com/JQkAwlO.png" alt="3d7dbc6b-c1ba-462f-99b9-1d1290861744-image.png" class=" img-fluid img-markdown" /><br />
<img src="https://i.imgur.com/bj7RYN7.png" alt="2b3ff6d7-4773-4cdc-b294-dbab8971dc13-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.secnto.com//post/3144</link><guid isPermaLink="true">https://community.secnto.com//post/3144</guid><dc:creator><![CDATA[zareen]]></dc:creator><pubDate>Fri, 24 Jan 2020 08:10:21 GMT</pubDate></item><item><title><![CDATA[Reply to CS315 Assignment 2 Solution and Discussion on Fri, 24 Jan 2020 07:59:35 GMT]]></title><description><![CDATA[<p dir="auto">Please share idea solution!</p>
]]></description><link>https://community.secnto.com//post/3141</link><guid isPermaLink="true">https://community.secnto.com//post/3141</guid><dc:creator><![CDATA[zareen]]></dc:creator><pubDate>Fri, 24 Jan 2020 07:59:35 GMT</pubDate></item></channel></rss>