{"id":10297,"date":"2022-11-26T14:14:41","date_gmt":"2022-11-26T14:14:41","guid":{"rendered":"https:\/\/mdr.foobrdigital.com\/?p=10297"},"modified":"2022-11-26T14:14:41","modified_gmt":"2022-11-26T14:14:41","slug":"cryptography-hash-functions","status":"publish","type":"post","link":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/2022\/11\/26\/cryptography-hash-functions\/","title":{"rendered":"Cryptography Hash functions"},"content":{"rendered":"\n<p>Hash functions are extremely useful and appear in almost all information security applications.<\/p>\n\n\n\n<p>A hash function is a mathematical function that converts a numerical input value into another compressed numerical value. The input to the hash function is of arbitrary length but output is always of fixed length.<\/p>\n\n\n\n<p>Values returned by a hash function are called&nbsp;<strong>message digest<\/strong>&nbsp;or simply&nbsp;<strong>hash values<\/strong>. The following picture illustrated hash function \u2212<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.tutorialspoint.com\/cryptography\/images\/hash_functions.jpg\" alt=\"Hash Functions\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Features of Hash Functions<\/h2>\n\n\n\n<p>The typical features of hash functions are \u2212<\/p>\n\n\n\n<ul>\n<li><strong>Fixed Length Output (Hash Value)<\/strong>\n<ul>\n<li>Hash function coverts data of arbitrary length to a fixed length. This process is often referred to as&nbsp;<strong>hashing the data<\/strong>.<\/li>\n\n\n\n<li>In general, the hash is much smaller than the input data, hence hash functions are sometimes called&nbsp;<strong>compression functions<\/strong>.<\/li>\n\n\n\n<li>Since a hash is a smaller representation of a larger data, it is also referred to as a&nbsp;<strong>digest<\/strong>.<\/li>\n\n\n\n<li>Hash function with n bit output is referred to as an&nbsp;<strong>n-bit hash function<\/strong>. Popular hash functions generate values between 160 and 512 bits.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Efficiency of Operation<\/strong>\n<ul>\n<li>Generally for any hash function h with input x, computation of h(x) is a fast operation.<\/li>\n\n\n\n<li>Computationally hash functions are much faster than a symmetric encryption.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Hash functions are extremely useful and appear in almost all information security applications. A hash function is a mathematical function that converts a numerical input value into another compressed numerical value. The input to the hash function is of arbitrary length but output is always of fixed length. Values returned by a hash function are [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[549],"tags":[],"_links":{"self":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/posts\/10297"}],"collection":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/comments?post=10297"}],"version-history":[{"count":0,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/posts\/10297\/revisions"}],"wp:attachment":[{"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/media?parent=10297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/categories?post=10297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mudassirbackup.infinitycodestudio.com\/index.php\/wp-json\/wp\/v2\/tags?post=10297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}