{"id":2221,"date":"2022-03-26T02:58:57","date_gmt":"2022-03-26T07:58:57","guid":{"rendered":"http:\/\/www.ishygddt.xyz\/~blog\/?p=2221"},"modified":"2022-03-26T02:58:57","modified_gmt":"2022-03-26T07:58:57","slug":"drbg-insight-symmetry","status":"publish","type":"post","link":"http:\/\/www.ishygddt.xyz\/~blog\/2022\/03\/drbg-insight-symmetry","title":{"rendered":"a small insight on cryptography"},"content":{"rendered":"<p><em>Abstractly speaking<\/em>, a hash function and a symmetric cipher are \"the same thing\".<\/p>\n<p>But, <em>concretely<\/em>, there is a symmetry between<\/p>\n<ol type=\"a\">\n<li>Stream cipher: map a fixed-length random input to a variable-length random output<\/li>\n<li>Hash function: map a variable-length random input to a fixed-length random output<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Abstractly speaking, a hash function and a symmetric cipher are \"the same thing\". But, concretely, there is a symmetry between Stream cipher: map a fixed-length random input to a variable-length random output Hash function: map a variable-length random input to a fixed-length random output<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2221","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/posts\/2221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/comments?post=2221"}],"version-history":[{"count":2,"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/posts\/2221\/revisions"}],"predecessor-version":[{"id":2224,"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/posts\/2221\/revisions\/2224"}],"wp:attachment":[{"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/media?parent=2221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/categories?post=2221"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/tags?post=2221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}