{"id":7728,"date":"2018-02-19T08:33:46","date_gmt":"2018-02-19T08:33:46","guid":{"rendered":"https:\/\/assignment.essayshark.com\/blog\/?p=7728"},"modified":"2022-01-05T11:13:50","modified_gmt":"2022-01-05T11:13:50","slug":"cryptography-examples-hamming-code-in-practice","status":"publish","type":"post","link":"https:\/\/assignmentshark.com\/blog\/cryptography-examples-hamming-code-in-practice\/","title":{"rendered":"Cryptography Examples: Hamming Code in Practice"},"content":{"rendered":"<blockquote><p><i><span style=\"font-weight: 400;\">Assignments on cryptography may be sometimes hard to understand. To help our students achieve deep understanding in cryptography, one of our writers has picked a task on Hamming code and described its solution. Take a look at our <\/span><\/i><i>cryptography examples <\/i><i><span style=\"font-weight: 400;\">and observe how the author came to the particular solution. All of our sample papers are free of charge and are aimed to help students with studying new material.<\/span><\/i><\/p>\n<p><i><span style=\"font-weight: 400;\">If you have troubles with your cryptography assignments or papers from other disciplines, hold your head up! If you can\u2019t keep up with all assignments and essays, and even our <\/span><\/i><i>cryptography <\/i><i>examples<\/i><b><i> <\/i><\/b><i><span style=\"font-weight: 400;\">didn\u2019t help<\/span><\/i><b><i>, <\/i><\/b><i><span style=\"font-weight: 400;\">there is always a way to stay on the boat. It doesn\u2019t matter how difficult your tasks are; rest assured that we can handle them. Here at AssignmentShark, we have hired a great group of experts who have passed numerous tests to prove their knowledge and writing skills. Only the expert that has a degree in a particular discipline passes our tests \u2013 we have no exceptions. Therefore, we are confident that our clients will receive papers of the highest quality.<\/span><\/i><\/p>\n<p><i><span style=\"font-weight: 400;\">We place greater emphasis on timely delivery of our orders, as we know that every overdue paper is a great failure for students. That\u2019s why our experts are always ready to perform even the most urgent <a href=\"https:\/\/assignmentshark.com\/\" target=\"_blank\" rel=\"noopener\">assignment help<\/a> and deliver it on time. With AssignmentShark you can meet deadlines in total tranquility!<\/span><\/i><\/p>\n<p><!--more--><\/p>\n<p>&nbsp;<\/p><\/blockquote>\n<p><u><b>Task:<\/b><\/u><\/p>\n<p><span style=\"font-weight: 400;\">Using the Hamming code, find the error in the message: 1001 0001 1101 1110 0000 000.<\/span><\/p>\n<p><u><b>Solution:<\/b><\/u><\/p>\n<p><span style=\"font-weight: 400;\">The message length is 27 digits; from them 22 are informational and 5 are control.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Control digits are b1 = 1, b2 = 1, b4 = 1, b8 = 1, b16=0.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Let\u2019s calculate the number of J for error detection.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For convenience, let\u2019s introduce the following sets:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">V1 = 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27\u2026 &#8211; all numbers whose first digit is equal to 1;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">V2 = 2, 3, 6, 7, 10, 11, 14, 15, 18, 19, 22, 23, 26, 27\u2026 &#8211; all numbers whose second digit is equal to 1;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">V3 = 4, 5, 6, 7, 12, 13, 14, 15, 20, 21, 22, 23, 28\u2026 &#8211; all numbers whose third digit is equal to 1;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">V4 = 8, 9, 10, 11, 12, 13, 14, 15, 24, 25, 26, 27, 28\u2026 &#8211; all numbers whose fourth digit is equal to 1;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">V5 = 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28 \u2026 &#8211; all numbers whose fifth digit is equal to 1.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Digits numbered J are defined as follows:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">j1 = b1 + b3+b5+b7+b9+b11+b13+b15+b17+b19+b21+b23+b25+b27 = 1;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">j2 = b2+ b3+b6+b7+b10+b11+b14+ b15+ b18+ b19+ b22+ b23+ b26+ b27= 0;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">j3 = b4+ b5+b6+b7 +b12+b13+ b14+ b15+ b20 +b21+b22+b23 = 0;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">j4 = b9+b10+b11+b12+b13+b14+b15+b24+b25+b26+b27 = 0;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">j5 = b16+ b17+b18+b19+b20+b21+b22+b23+b24+b25+b26+b27 = 1,<\/span><\/p>\n<p><span style=\"font-weight: 400;\">so the number <\/span><i><span style=\"font-weight: 400;\">J = <\/span><\/i><span style=\"font-weight: 400;\">10001 <\/span><span style=\"font-weight: 400;\"><sub>2<\/sub> \u00a0<\/span><i><span style=\"font-weight: 400;\">\u00a0= \u00a0<\/span><\/i><span style=\"font-weight: 400;\">17<\/span><span style=\"font-weight: 400;\"><sub>10<\/sub><\/span><span style=\"font-weight: 400;\"> .<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Thus, an error occurred in the seventeenth digit of the transferred number and 1 should be replaced to 0. Then we obtain 1111 1011 0010 1100 0101 1100 110.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Now let\u2019s remove the control digits. We get 1101 0010 1100 1011 1001 10 \u2013 the transmitted number.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Assignments on cryptography may be sometimes hard to understand. To help our students achieve deep understanding in cryptography, one of our writers has picked a task on Hamming code and described its solution. Take a look at our cryptography examples and observe how the author came to the particular solution. All of our sample papers [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[53,35],"tags":[],"class_list":["post-7728","post","type-post","status-publish","format-standard","hentry","category-it","category-samples"],"_links":{"self":[{"href":"https:\/\/assignmentshark.com\/blog\/wp-json\/wp\/v2\/posts\/7728","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/assignmentshark.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/assignmentshark.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/assignmentshark.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/assignmentshark.com\/blog\/wp-json\/wp\/v2\/comments?post=7728"}],"version-history":[{"count":14,"href":"https:\/\/assignmentshark.com\/blog\/wp-json\/wp\/v2\/posts\/7728\/revisions"}],"predecessor-version":[{"id":12883,"href":"https:\/\/assignmentshark.com\/blog\/wp-json\/wp\/v2\/posts\/7728\/revisions\/12883"}],"wp:attachment":[{"href":"https:\/\/assignmentshark.com\/blog\/wp-json\/wp\/v2\/media?parent=7728"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/assignmentshark.com\/blog\/wp-json\/wp\/v2\/categories?post=7728"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/assignmentshark.com\/blog\/wp-json\/wp\/v2\/tags?post=7728"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}