
{"id":4179,"date":"2010-10-09T22:24:29","date_gmt":"2010-10-09T16:54:29","guid":{"rendered":"http:\/\/www.jeffrin.in\/?p=3193"},"modified":"2010-10-09T22:24:29","modified_gmt":"2010-10-09T16:54:29","slug":"base64-encoding","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2010\/10\/09\/base64-encoding\/","title":{"rendered":"base64 encoding"},"content":{"rendered":"<p><a href=\"http:\/\/www.jeffrin.in\/wp-content\/uploads\/2010\/10\/base64.png\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.jeffrin.in\/wp-content\/uploads\/2010\/10\/base64-300x225.png\" alt=\"\" title=\"base64\" width=\"300\" height=\"225\" class=\"aligncenter size-medium wp-image-3203\" \/><\/a><br \/>\n<code><br \/>\n$file a.out<br \/>\na.out: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU\/Linux 2.6.18, not stripped<br \/>\n$base64 a.out &gt; ascii.txt<br \/>\n$tail -n 5 -f ascii.txt<br \/>\nX19lcnJub19sb2NhdGlvbkBAR0xJQkNfMi4yLjUAX19ic3Nfc3RhcnQAX19nY292X3dyaXRlX3N1<br \/>\nbW1hcnkAX19nY292X3JlYWRfY291bnRlcgBzdHJjcHlAQEdMSUJDXzIuMi41AF9lbmQAZmNsb3Nl<br \/>\nQEBHTElCQ18yLjIuNQBzdGRlcnJAQEdMSUJDXzIuMi41AGFjY2Vzc0BAR0xJQkNfMi4yLjUAZndy<br \/>\naXRlQEBHTElCQ18yLjIuNQBfZWRhdGEAZnByaW50ZkBAR0xJQkNfMi4yLjUAZmNudGxAQEdMSUJD<br \/>\nXzIuMi41AG9wZW5AQEdMSUJDXzIuMi41AG1rZGlyQEBHTElCQ18yLjIuNQBtYWluAF9pbml0AA==<br \/>\n^C<br \/>\n$tail -n 5 -f a.out<br \/>\n@<br \/>\n @<br \/>\n   @.<br \/>\n     @&gt;<br \/>\n       @N<br \/>\n         @^<br \/>\n           @n<br \/>\n<\/code><br \/>\nThat was a peice from a.out may be not exactly 5 lines.<\/p>\n<p class=\"theory\">\nBase64 is a group of similar encoding schemes that represent binary<br \/>\ndata in an ASCII string format by translating it into a radix-64<br \/>\nrepresentation. The Base64 term originates from a specific MIME<br \/>\ncontent transfer encoding.<br \/>\nReference\/Source :<br \/>\nhttp:\/\/en.wikipedia.org\/wiki\/Base64<\/p>\n","protected":false},"excerpt":{"rendered":"<p>$file a.out a.out: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU\/Linux 2.6.18, not stripped $base64 a.out &gt; ascii.txt $tail -n 5 -f ascii.txt X19lcnJub19sb2NhdGlvbkBAR0xJQkNfMi4yLjUAX19ic3Nfc3RhcnQAX19nY292X3dyaXRlX3N1 bW1hcnkAX19nY292X3JlYWRfY291bnRlcgBzdHJjcHlAQEdMSUJDXzIuMi41AF9lbmQAZmNsb3Nl QEBHTElCQ18yLjIuNQBzdGRlcnJAQEdMSUJDXzIuMi41AGFjY2Vzc0BAR0xJQkNfMi4yLjUAZndy aXRlQEBHTElCQ18yLjIuNQBfZWRhdGEAZnByaW50ZkBAR0xJQkNfMi4yLjUAZmNudGxAQEdMSUJD XzIuMi41AG9wZW5AQEdMSUJDXzIuMi41AG1rZGlyQEBHTElCQ18yLjIuNQBtYWluAF9pbml0AA== ^C $tail -n 5 -f a.out @ @ @. @&gt; @N @^ @n That was a peice from a.out may &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2010\/10\/09\/base64-encoding\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;base64 encoding&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[455,471,643,711,755],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/4179"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=4179"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/4179\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=4179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=4179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=4179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}