{"id":25672,"date":"2019-05-11T14:19:00","date_gmt":"2019-05-11T18:19:00","guid":{"rendered":"https:\/\/www.dannyadam.com\/blog\/?p=25672"},"modified":"2023-07-20T11:00:45","modified_gmt":"2023-07-20T15:00:45","slug":"lc4","status":"publish","type":"post","link":"https:\/\/www.dannyadam.com\/blog\/2019\/05\/lc4\/","title":{"rendered":"LC4"},"content":{"rendered":"\n<p>About a year ago I wrote a Python library that implements ElsieFour (LC4) encryption (Alan Kaminsky 2017). LC4 is designed for <em>human-to-human<\/em> communication, without requiring a computer.<\/p>\n\n\n\n<p>I&#8217;ve recently updated the library to include color-coded verbose output that shows the steps of the algorithm. This can be helpful for learning to <em>manually<\/em> encrypt and decrypt messages. The verbose output is accessible through both the Python API and the command-line interface (using <code>--verbose<\/code>).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.dannyadam.com\/blog\/wp-content\/uploads\/2019\/05\/lc4.gif\"><img decoding=\"async\" src=\"https:\/\/www.dannyadam.com\/blog\/wp-content\/uploads\/2019\/05\/lc4.gif\" alt=\"\" class=\"wp-image-25689\" style=\"max-width:100%;\" width=\"200\"><\/a><\/figure>\n\n\n<p><!--more--><\/p>\n\n\n<p>The source code is available on GitHub:<br><a href=\"https:\/\/github.com\/dstein64\/LC4\">https:\/\/github.com\/dstein64\/LC4<\/a><\/p>\n\n\n\n<p>The package is <a href=\"https:\/\/pypi.org\/project\/lc4\/\">available<\/a>&nbsp;on PyPI, the Python Package Index. It can be installed with&nbsp;<em>pip<\/em>.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ pip3 install lc4<\/pre>\n\n\n\n<p>Kaminsky, Alan. \u201cElsieFour: A Low-Tech Authenticated Encryption Algorithm For Human-to-Human Communication,\u201d 2017. <a href=\"https:\/\/eprint.iacr.org\/2017\/339\">https:\/\/eprint.iacr.org\/2017\/339<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>About a year ago I wrote a Python library that implements ElsieFour (LC4) encryption (Alan Kaminsky 2017). LC4 is designed for human-to-human communication, without requiring a computer. I&#8217;ve recently updated the library to include color-coded verbose output that shows the steps of the algorithm. This can be helpful for learning to manually encrypt and decrypt [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[62,61,36],"class_list":["post-25672","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-encryption","tag-lc4","tag-python"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/s1sCC6-lc4","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.dannyadam.com\/blog\/wp-json\/wp\/v2\/posts\/25672","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dannyadam.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dannyadam.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dannyadam.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dannyadam.com\/blog\/wp-json\/wp\/v2\/comments?post=25672"}],"version-history":[{"count":18,"href":"https:\/\/www.dannyadam.com\/blog\/wp-json\/wp\/v2\/posts\/25672\/revisions"}],"predecessor-version":[{"id":26935,"href":"https:\/\/www.dannyadam.com\/blog\/wp-json\/wp\/v2\/posts\/25672\/revisions\/26935"}],"wp:attachment":[{"href":"https:\/\/www.dannyadam.com\/blog\/wp-json\/wp\/v2\/media?parent=25672"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dannyadam.com\/blog\/wp-json\/wp\/v2\/categories?post=25672"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dannyadam.com\/blog\/wp-json\/wp\/v2\/tags?post=25672"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}