{"componentChunkName":"component---src-templates-post-tsx","path":"/what-is-random-art-image","result":{"data":{"markdownRemark":{"html":"<p>If you have done some DevOps works before, you must be familiar with the tool\n<code class=\"language-text\">ssh-keygen</code>. When a new key is generated, it will display a simple square ASCII art image called \"random art image\" (see following sample FYI). What's the purpose of it?</p>\n<!--more-->\n<div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">Generating public/private rsa key pair.\nThe key fingerprint is:\n05:1e:1e:c1:ac:b9:d1:1c:6a:60:ce:0f:77:6c:78:47 you@i\nThe key's randomart image is:\n+--[ RSA 2048]----+\n|       o=.       |\n|    o  o++E      |\n|   + . Ooo.      |\n|    + O B..      |\n|     = *S.       |\n|      o          |\n|                 |\n|                 |\n|                 |\n+-----------------+</code></pre></div>\n<p>People usually memorize images and patterns faster and firmlier than plain texts.\nAnd it's also useless to memorize the entire string because the goal is validation rather than memorization (who will recite their private key?).\nTherefore, converting them to pattern assists people in validating keys faster becasue a subtle alteration will cause a totally different pattern. That's why random art images present.</p>\n<p>This technique is from a paper titled <a href=\"http://users.ece.cmu.edu/~adrian/projects/validation/validation.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"><em>Hash Visualization: a New Technique\nto improve Real-World Security</em></a> published in 2000.</p>","frontmatter":{"title":"What Is Random Art Image","date":"May 14, 2019","tags":["crypto"],"language":"en"}},"site":{"siteMetadata":{"title":"Luyu Cheng"}}},"pageContext":{"id":"eeeeacde-6ba2-5054-b08b-4849ddc06984"}},"staticQueryHashes":["3649515864","63159454","684267432"]}