Commit 8bfb83fb authored by John's avatar John

Site updated: 2018-11-19 17:27:10

parent 4d47c3af
......@@ -106,16 +106,16 @@ Sorry about that.">
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -131,9 +131,9 @@ Sorry about that.">
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -137,16 +137,16 @@
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -162,9 +162,9 @@
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -95,16 +95,16 @@
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -120,9 +120,9 @@
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -95,16 +95,16 @@
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -120,9 +120,9 @@
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -107,16 +107,16 @@
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -132,9 +132,9 @@
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -95,16 +95,16 @@
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -120,9 +120,9 @@
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -95,16 +95,16 @@
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -120,9 +120,9 @@
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -110,16 +110,16 @@
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -135,9 +135,9 @@
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -96,16 +96,16 @@
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -121,9 +121,9 @@
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -82,6 +82,19 @@
class="post-list__item__description">When “pretty good” is good enough PGP stands for “Pretty Good Privacy”. It’s a set of algorithms for encrypting, compressing, and signing data so...</p>
</div>
</article>
<article class="post-list__item">
<div class="post-list__item__col-1">
<a class="post-list__item__link" href="/posts/encryption-primer/">
<div class="post-list__item__link__background" style="background-image:url('/images/gpg/encrypted.png');"></div>
</a>
</div>
<div class="post-list__item__col-2">
<h3 class="post-list__item__title"><a href="/posts/encryption-primer/" title="Encryption Primer, How does this all work?">Encryption Primer, How does this all work?</a></h3>
<div class="post-list__item__meta"><a class="post-list__item__meta__link" href="/categories/Encryption/">Encryption</a><span class="post-list__item__meta__label">,</span><a class="post-list__item__meta__link" href="/categories/Encryption/Fundamentals/">Fundamentals</a></div>
<p
class="post-list__item__description">How does encryption work? In order to talk about encryption, you usually have to talk about math. Lots of fairly complicated math. People write...</p>
</div>
</article>
<article class="post-list__item">
<div class="post-list__item__col-1">
<a class="post-list__item__link" href="/posts/base16-and-all-that-jazz/">
......@@ -108,16 +121,16 @@
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -133,9 +146,9 @@
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -82,6 +82,19 @@
class="post-list__item__description">When “pretty good” is good enough PGP stands for “Pretty Good Privacy”. It’s a set of algorithms for encrypting, compressing, and signing data so...</p>
</div>
</article>
<article class="post-list__item">
<div class="post-list__item__col-1">
<a class="post-list__item__link" href="/posts/encryption-primer/">
<div class="post-list__item__link__background" style="background-image:url('/images/gpg/encrypted.png');"></div>
</a>
</div>
<div class="post-list__item__col-2">
<h3 class="post-list__item__title"><a href="/posts/encryption-primer/" title="Encryption Primer, How does this all work?">Encryption Primer, How does this all work?</a></h3>
<div class="post-list__item__meta"><a class="post-list__item__meta__link" href="/categories/Encryption/">Encryption</a><span class="post-list__item__meta__label">,</span><a class="post-list__item__meta__link" href="/categories/Encryption/Fundamentals/">Fundamentals</a></div>
<p
class="post-list__item__description">How does encryption work? In order to talk about encryption, you usually have to talk about math. Lots of fairly complicated math. People write...</p>
</div>
</article>
<article class="post-list__item">
<div class="post-list__item__col-1">
<a class="post-list__item__link" href="/posts/base16-and-all-that-jazz/">
......@@ -148,16 +161,16 @@
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -173,9 +186,9 @@
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -82,6 +82,19 @@
class="post-list__item__description">When “pretty good” is good enough PGP stands for “Pretty Good Privacy”. It’s a set of algorithms for encrypting, compressing, and signing data so...</p>
</div>
</article>
<article class="post-list__item">
<div class="post-list__item__col-1">
<a class="post-list__item__link" href="/posts/encryption-primer/">
<div class="post-list__item__link__background" style="background-image:url('/images/gpg/encrypted.png');"></div>
</a>
</div>
<div class="post-list__item__col-2">
<h3 class="post-list__item__title"><a href="/posts/encryption-primer/" title="Encryption Primer, How does this all work?">Encryption Primer, How does this all work?</a></h3>
<div class="post-list__item__meta"><a class="post-list__item__meta__link" href="/categories/Encryption/">Encryption</a><span class="post-list__item__meta__label">,</span><a class="post-list__item__meta__link" href="/categories/Encryption/Fundamentals/">Fundamentals</a></div>
<p
class="post-list__item__description">How does encryption work? In order to talk about encryption, you usually have to talk about math. Lots of fairly complicated math. People write...</p>
</div>
</article>
<article class="post-list__item">
<div class="post-list__item__col-1">
<a class="post-list__item__link" href="/posts/base16-and-all-that-jazz/">
......@@ -184,16 +197,16 @@
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -209,9 +222,9 @@
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -96,16 +96,16 @@
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -121,9 +121,9 @@
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -96,16 +96,16 @@
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -121,9 +121,9 @@
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -82,6 +82,19 @@
class="post-list__item__description">When “pretty good” is good enough PGP stands for “Pretty Good Privacy”. It’s a set of algorithms for encrypting, compressing, and signing data so...</p>
</div>
</article>
<article class="post-list__item">
<div class="post-list__item__col-1">
<a class="post-list__item__link" href="/posts/encryption-primer/">
<div class="post-list__item__link__background" style="background-image:url('/images/gpg/encrypted.png');"></div>
</a>
</div>
<div class="post-list__item__col-2">
<h3 class="post-list__item__title"><a href="/posts/encryption-primer/" title="Encryption Primer, How does this all work?">Encryption Primer, How does this all work?</a></h3>
<div class="post-list__item__meta"><a class="post-list__item__meta__link" href="/categories/Encryption/">Encryption</a><span class="post-list__item__meta__label">,</span><a class="post-list__item__meta__link" href="/categories/Encryption/Fundamentals/">Fundamentals</a></div>
<p
class="post-list__item__description">How does encryption work? In order to talk about encryption, you usually have to talk about math. Lots of fairly complicated math. People write...</p>
</div>
</article>
</section>
<div class="pagination"><span class="page-number current">1</span></div>
</div>
......@@ -96,16 +109,16 @@
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -121,9 +134,9 @@
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -82,6 +82,19 @@
class="post-list__item__description">When “pretty good” is good enough PGP stands for “Pretty Good Privacy”. It’s a set of algorithms for encrypting, compressing, and signing data so...</p>
</div>
</article>
<article class="post-list__item">
<div class="post-list__item__col-1">
<a class="post-list__item__link" href="/posts/encryption-primer/">
<div class="post-list__item__link__background" style="background-image:url('/images/gpg/encrypted.png');"></div>
</a>
</div>
<div class="post-list__item__col-2">
<h3 class="post-list__item__title"><a href="/posts/encryption-primer/" title="Encryption Primer, How does this all work?">Encryption Primer, How does this all work?</a></h3>
<div class="post-list__item__meta"><a class="post-list__item__meta__link" href="/categories/Encryption/">Encryption</a><span class="post-list__item__meta__label">,</span><a class="post-list__item__meta__link" href="/categories/Encryption/Fundamentals/">Fundamentals</a></div>
<p
class="post-list__item__description">How does encryption work? In order to talk about encryption, you usually have to talk about math. Lots of fairly complicated math. People write...</p>
</div>
</article>
</section>
<div class="pagination"><span class="page-number current">1</span></div>
</div>
......@@ -96,16 +109,16 @@
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -121,9 +134,9 @@
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -95,16 +95,16 @@
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -120,9 +120,9 @@
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -107,16 +107,16 @@
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -132,9 +132,9 @@
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -98,16 +98,16 @@
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -123,9 +123,9 @@
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -98,16 +98,16 @@
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -123,9 +123,9 @@
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -122,16 +122,16 @@
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -147,9 +147,9 @@
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -137,16 +137,16 @@ It’s understandable that a lot of the things I talk about on this site may go
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -162,9 +162,9 @@ It’s understandable that a lot of the things I talk about on this site may go
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -180,16 +180,16 @@
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -205,9 +205,9 @@
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -78,6 +78,19 @@
class="post-list__item__description">When “pretty good” is good enough PGP stands for “Pretty Good Privacy”. It’s a set of algorithms for encrypting, compressing, and signing data so...</p>
</div>
</article>
<article class="post-list__item">
<div class="post-list__item__col-1">
<a class="post-list__item__link" href="/posts/encryption-primer/">
<div class="post-list__item__link__background" style="background-image:url('/images/gpg/encrypted.png');"></div>
</a>
</div>
<div class="post-list__item__col-2">
<h3 class="post-list__item__title"><a href="/posts/encryption-primer/" title="Encryption Primer, How does this all work?">Encryption Primer, How does this all work?</a></h3>
<div class="post-list__item__meta"><a class="post-list__item__meta__link" href="/categories/Encryption/">Encryption</a><span class="post-list__item__meta__label">,</span><a class="post-list__item__meta__link" href="/categories/Encryption/Fundamentals/">Fundamentals</a></div>
<p
class="post-list__item__description">How does encryption work? In order to talk about encryption, you usually have to talk about math. Lots of fairly complicated math. People write...</p>
</div>
</article>
<article class="post-list__item">
<div class="post-list__item__col-1">
<a class="post-list__item__link" href="/posts/base16-and-all-that-jazz/">
......@@ -180,16 +193,16 @@
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -205,9 +218,9 @@
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -268,16 +268,16 @@ Oh God. HEX! It’s just so hard to get your head around. A lot of people think
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -293,9 +293,9 @@ Oh God. HEX! It’s just so hard to get your head around. A lot of people think
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="generator" content="Hexo 3.8.0">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Encryption Primer, How does this all work? | TheBestJohn</title>
<link rel="stylesheet" href="/libs/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="/css/index.css">
<link rel="stylesheet" href="/css/highlights/dracula.css">
<link rel="canonical" href="http://blog.thebestjohn.com/posts/encryption-primer/">
<meta name="description" content="How does encryption work? In order to talk about encryption, you usually have to talk about math. Lots of fairly complicated math. People…">
<meta property="og:type" content="article">
<meta property="og:title" content="Encryption Primer, How does this all work?">
<meta property="og:url" content="http://blog.thebestjohn.com/posts/encryption-primer/">
<meta property="og:site_name" content="TheBestJohn">
<meta property="og:description" content="How does encryption work? In order to talk about encryption, you usually have to talk about math. Lots of fairly complicated math. People…">
<meta property="og:locale" content="en">
<meta property="og:image" content="http://blog.thebestjohn.com/images/gpg/encrypted.png">
<meta property="og:updated_time" content="2018-11-19T17:26:12.458Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Encryption Primer, How does this all work?">
<meta name="twitter:description" content="How does encryption work? In order to talk about encryption, you usually have to talk about math. Lots of fairly complicated math. People…">
<meta name="twitter:image" content="http://blog.thebestjohn.com/images/gpg/encrypted.png">
<meta property="article:author" content="John Warren">
<meta property="twitter:label1" content="Published at">
<meta property="twitter:data1" content="November 19th 2018 12:18:19">
<meta property="twitter:label2" content="Written by">
<meta property="twitter:data2" content="John Warren">
<link rel="icon" href="/images/icon.png">
<link rel="alternate" href="/atom.xml" type="application/atom+xml" title="TheBestJohn">
<script>
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u = "//anal.thebestjohn.com/";
_paq.push(['setTrackerUrl', u + 'piwik.php']);
_paq.push(['setSiteId', '1']);
var d = document,
g = d.createElement('script'),
s = d.getElementsByTagName('script')[0];
g.type = 'text/javascript';
g.async = true;
g.defer = true;
g.src = u + 'piwik.js';
s.parentNode.insertBefore(g, s);
})();
</script>
</head>
<body itemscope="" itemtype="https://schema.org/WebPage">
<nav class="menu" id="menu">
<div class="menu-inner">
<div class="menu__left-area">
<div class="menu__item"><a class="menu__item__link menu__item__link--brand" href="/" title="Home" rel="home"><img class="menu__item__link--brand__image" src="/images/icon.png" alt="TheBestJohn"><span class="menu__item__link--brand__label">TheBestJohn</span></a></div>
</div>
<div class="menu__right-area">
<div class="menu__item"><a class="menu__item__link" href="http://blog.thebestjohn.com/">Home</a></div>
<div class="menu__item"><a class="menu__item__link" href="http://blog.thebestjohn.com/glossary">Glossary</a></div>
<div class="menu__item"><a class="menu__item__link" href="http://blog.thebestjohn.com/about">About</a></div>
<div class="menu__item"><a class="menu__item__link" href="http://blog.thebestjohn.com/archives">Archives</a></div>
<div class="menu__item menu__item"> <a class="menu__item__link" href="https://www.patreon.com/TheBestJohn" target="_blank" rel="external nofollow noopener noreferrer">Patreon</a></div>
</div>
</div>
</nav>
<div class="page-background"></div>
<div class="content-container">
<div class="content-outer">
<div class="content-inner" itemscope="" itemtype="https://schema.org/Blog">
<article class="article" id="article" itemscope="" itemtype="https://schema.org/BlogPosting">
<h1 class="article__title" itemprop="headline">Encryption Primer, How does this all work?</h1>
<div class="article__meta"><time class="article__meta__time" datetime="2018-11-19T17:18:19.000Z" itemprop="datePublished">November 19th 2018</time>
<div class="article__meta__categories"><a class="article__meta__categories__item" href="/categories/Encryption/">Encryption</a><span class="article__meta__categories__separator">/</span><a class="article__meta__categories__item" href="/categories/Encryption/Fundamentals/">Fundamentals</a></div>
</div>
<div class="article__contents"><img src="/images/gpg/encrypted.png">
<h2 id="How-does-encryption-work"><a href="#How-does-encryption-work" class="headerlink" title="How does encryption work?"></a>How does encryption work?</h2>
<p>In order to talk about encryption, you usually have to talk about math. Lots of fairly complicated math. People write theses on encryption algorithms and base their entire mathematical careers off of them. I’ve always found it to be a very
intimidating way to approach the concept.</p>
<p>Basically, in order to encrypt something, you need a secret password known by both yourself and the person you’re trying to contact. This “shared secret” is then used to take your input data (your secret message) and transform it into something
that is unrecognizable to an outside observer. Throughout history, this has taken many forms. One-time pads are very tight encryption, the enigma machine was famous for needing the first Turing machine to be built to crack it. If you want
explanations as to how the math works for these, this isn’t the right blog.</p>
<p>This shared secret is then used in a “mathy” way to scramble the letters up in your message so much that it would be very difficult or impossible to unscramble without knowing the secret key.</p>
<p>When people talk about encryption they also always seem to use “Alice” and “Bob” as the people wanting to send messages. “Eve” is always the nefarious third party trying to spy on the communication. I don’t know why but make your own story
up.</p>
<h2 id="One-time-pad-encryption-example"><a href="#One-time-pad-encryption-example" class="headerlink" title="One-time pad encryption example"></a>One-time pad encryption example</h2>
<p>Let me take you through a quick example using a One-time Pad. A One-time pad is called such because in order for it to be secure, you can only use it once to encrypt data. Each successive use, weakens its encryption strength. They’re basically
two paper booklets that are identical to each other with random letters on them. Those random letters are identical in each pad as well. The two people wanting to send messages to one another should each have one.</p>
<p>So let’s make our super secret one time pad. First we’re going to agree on a way to turn letters into numbers. We’ll go elementary school style with just listing the numbers of the letters in the alphabet. There are many techniques to making
these, commonly called checkerboards or conversion tables, that allow for more characters and the use of a codebook to represent whole words as numbers as well.</p>
<table>
<thead>
<tr>
<th style="text-align:center">A</th>
<th style="text-align:center">B</th>
<th style="text-align:center">C</th>
<th style="text-align:center">D</th>
<th style="text-align:center">E</th>
<th style="text-align:center">F</th>
<th style="text-align:center">G</th>
<th style="text-align:center">H</th>
<th style="text-align:center">I</th>
<th style="text-align:center">J</th>
<th style="text-align:center">K</th>
<th style="text-align:center">L</th>
<th style="text-align:center">M</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">01</td>
<td style="text-align:center">02</td>
<td style="text-align:center">03</td>
<td style="text-align:center">04</td>
<td style="text-align:center">05</td>
<td style="text-align:center">06</td>
<td style="text-align:center">07</td>
<td style="text-align:center">08</td>
<td style="text-align:center">09</td>
<td style="text-align:center">10</td>
<td style="text-align:center">11</td>
<td style="text-align:center">12</td>
<td style="text-align:center">13</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th style="text-align:center">N</th>
<th style="text-align:center">O</th>
<th style="text-align:center">P</th>
<th style="text-align:center">Q</th>
<th style="text-align:center">R</th>
<th style="text-align:center">S</th>
<th style="text-align:center">T</th>
<th style="text-align:center">U</th>
<th style="text-align:center">V</th>
<th style="text-align:center">W</th>
<th style="text-align:center">X</th>
<th style="text-align:center">Y</th>
<th style="text-align:center">Z</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">14</td>
<td style="text-align:center">15</td>
<td style="text-align:center">16</td>
<td style="text-align:center">17</td>
<td style="text-align:center">18</td>
<td style="text-align:center">19</td>
<td style="text-align:center">20</td>
<td style="text-align:center">21</td>
<td style="text-align:center">22</td>
<td style="text-align:center">23</td>
<td style="text-align:center">24</td>
<td style="text-align:center">25</td>
<td style="text-align:center">26</td>
</tr>
</tbody>
</table>
<p>Next we’ll make our one time pad by generating a bunch of random letters. Important to note here that randomness is essential to this whole thing. Most of the things you <strong>think</strong> are random are not. Truly random things are difficult,
but we’re not dealing with life or death info.</p>
<p>I went to <a href="https://www.random.org/strings/" rel="external nofollow noopener noreferrer" target="_blank">random.org/strings</a> and got 20 random 2 character strings. One of the most important security rules for making iron clad One-time
Pad ciphers is to not use computers at all for encryption/decryption. You do want something truly random to make the pad and that is usually a computer of some sort. The idea is to have a computer make the One-time pad data while Alice and
Bob are together and in a safe place. That computer should not belong to either Alice or Bob and would likely be owned by Alice and Bob’s handlers. It shouldn’t be connected to any network, and for real security, should be annihilated with
antimatter after use. True randomness is hard to come by but that’s another post. When using a computer to encrypt or decrypt, Alice or Bob could leave behind data without even knowing it and it’s usually a variable that they cannot properly
control. Again, we’re just having fun.</p>
<blockquote>
<p>IM OT WM GU BY SH EB JR PU YC PV LW ZI CZ DB DM RU BH TY FV</p>
</blockquote>
<p>I’ve arranged them in 2 letter groups because this next part is how we’ll encode/decode our message. Let’s convert these to numbers. I’m just going to grab a couple to use as we won’t need all of them.</p>
<table>
<thead>
<tr>
<th style="text-align:center">IM</th>
<th style="text-align:center">OT</th>
<th style="text-align:center">WM</th>
<th style="text-align:center">GU</th>
<th style="text-align:center">BY</th>
<th style="text-align:center">SH</th>
<th style="text-align:center">EB</th>
<th style="text-align:center">JR</th>
<th style="text-align:center">PU</th>
<th style="text-align:center">YC</th>
<th style="text-align:center">PV</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">0913</td>
<td style="text-align:center">1520</td>
<td style="text-align:center">2313</td>
<td style="text-align:center">0721</td>
<td style="text-align:center">0225</td>
<td style="text-align:center">1908</td>
<td style="text-align:center">0502</td>
<td style="text-align:center">1018</td>
<td style="text-align:center">1621</td>
<td style="text-align:center">2503</td>
<td style="text-align:center">1622</td>
</tr>
</tbody>
</table>
<h3 id="Encrypting"><a href="#Encrypting" class="headerlink" title="Encrypting"></a>Encrypting</h3>
<p>We’re going to now use this to encode our secret message “I THINK EVE IS LISTENING” by grouping them by two characters, removing spaces, and formatting it like we did before. We do this because we don’t want “Eve” to know how many characters
each word has. That would be a hint to our message’s contents.</p>
<table>
<thead>
<tr>
<th style="text-align:center">IT</th>
<th style="text-align:center">HI</th>
<th style="text-align:center">NK</th>
<th style="text-align:center">EV</th>
<th style="text-align:center">EI</th>
<th style="text-align:center">SL</th>
<th style="text-align:center">IS</th>
<th style="text-align:center">TE</th>
<th style="text-align:center">NI</th>
<th style="text-align:center">NG</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">0920</td>
<td style="text-align:center">0809</td>
<td style="text-align:center">1411</td>
<td style="text-align:center">0522</td>
<td style="text-align:center">0509</td>
<td style="text-align:center">1912</td>
<td style="text-align:center">0919</td>
<td style="text-align:center">2005</td>
<td style="text-align:center">1409</td>
<td style="text-align:center">1407</td>
</tr>
</tbody>
</table>
<p>The next part is where the magic happens. We are going to keep the first secret key the same so Alice can know which One-time pad to use to decode the message. Ideally a One-Time pad is made up of several pages of random characters and you’ll
need a way to let each other know which one you’re using. So we’re going to line up the data and add one to the other. We’re only adding the individual digits and ignoring any time it goes over 10 by just writing the remainder. This is called
Modulus 10, but that’s getting into the “mathy” thing we talked about. Just think <code>9 + 4 = 13</code> so we take off the <code>10</code> part and end up with <code>3</code>.</p>
<table>
<thead>
<tr>
<th style="text-align:center"></th>
<th style="text-align:center">Key</th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center"><strong>Secret</strong></td>
<td style="text-align:center"></td>
<td style="text-align:center">0920</td>
<td style="text-align:center">0809</td>
<td style="text-align:center">1411</td>
<td style="text-align:center">0522</td>
<td style="text-align:center">0509</td>
<td style="text-align:center">1912</td>
<td style="text-align:center">0919</td>
<td style="text-align:center">2005</td>
<td style="text-align:center">1409</td>
<td style="text-align:center">1407</td>
</tr>
<tr>
<td style="text-align:center"><strong>One-time</strong></td>
<td style="text-align:center">0913</td>
<td style="text-align:center">1520</td>
<td style="text-align:center">2313</td>
<td style="text-align:center">0721</td>
<td style="text-align:center">0225</td>
<td style="text-align:center">1908</td>
<td style="text-align:center">0502</td>
<td style="text-align:center">1018</td>
<td style="text-align:center">1621</td>
<td style="text-align:center">2503</td>
<td style="text-align:center">1622</td>
</tr>
<tr>
<td style="text-align:center"><strong>Cipher</strong></td>
<td style="text-align:center">0913</td>
<td style="text-align:center">1440</td>
<td style="text-align:center">2112</td>
<td style="text-align:center">1132</td>
<td style="text-align:center">0747</td>
<td style="text-align:center">1407</td>
<td style="text-align:center">1414</td>
<td style="text-align:center">1927</td>
<td style="text-align:center">3626</td>
<td style="text-align:center">3902</td>
<td style="text-align:center">2029</td>
</tr>
</tbody>
</table>
<p>Remember we are only adding single digits. You should never be adding more than one digit from the message to more than one digit of the One-time at a time.</p>
<p>Now that we have our secret encrypted cipher text, we destroy our pad and it will be secure. If we’re caught with the message we wouldn’t be able to provide a way to read it even with a <a href="https://imgs.xkcd.com/comics/security.png" rel="external nofollow noopener noreferrer"
target="_blank">5$ wrench attack</a>.</p>
<blockquote>
<p>0913 1440 2112 1132 0747 1407 1414 1927 3626 3902 2029</p>
</blockquote>
<h3 id="Decrypting"><a href="#Decrypting" class="headerlink" title="Decrypting"></a>Decrypting</h3>
<p>So Bob sends his message to Alice via carrier pigeon. Eve has a fleet of pigeon intercepting hawks who grab Bob’s pigeon so Eve can copy down the message and send them on their way. Upon arriving, the pigeon tells Alice its harrowing tale.
Unfortunately, Alice doesn’t understand the pigeon’s regional dialect but even if she did, she would not be concerned that the message’s contents were compromised. </p>
<p>To decrypt, Alice needs to take the secret Cipher, and subtract her secret key from it using the same modulus method (subtracting the remainder from 10) so <code>3 - 9 = -2</code> which would mean <code>10 - 2 = 8</code></p>
<table>
<thead>
<tr>
<th style="text-align:center"></th>
<th style="text-align:center">Key</th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center"><strong>Cipher</strong></td>
<td style="text-align:center">0913</td>
<td style="text-align:center">1440</td>
<td style="text-align:center">2112</td>
<td style="text-align:center">1132</td>
<td style="text-align:center">0747</td>
<td style="text-align:center">1407</td>
<td style="text-align:center">1414</td>
<td style="text-align:center">1927</td>
<td style="text-align:center">3626</td>
<td style="text-align:center">3902</td>
<td style="text-align:center">2029</td>
</tr>
<tr>
<td style="text-align:center"><strong>One-time</strong></td>
<td style="text-align:center">0913</td>
<td style="text-align:center">1520</td>
<td style="text-align:center">2313</td>
<td style="text-align:center">0721</td>
<td style="text-align:center">0225</td>
<td style="text-align:center">1908</td>
<td style="text-align:center">0502</td>
<td style="text-align:center">1018</td>
<td style="text-align:center">1621</td>
<td style="text-align:center">2503</td>
<td style="text-align:center">1622</td>
</tr>
<tr>
<td style="text-align:center"><strong>Decode</strong></td>
<td style="text-align:center"></td>
<td style="text-align:center">0920</td>
<td style="text-align:center">0809</td>
<td style="text-align:center">1411</td>
<td style="text-align:center">0522</td>
<td style="text-align:center">0509</td>
<td style="text-align:center">1912</td>
<td style="text-align:center">0919</td>
<td style="text-align:center">2005</td>
<td style="text-align:center">1409</td>
<td style="text-align:center">1407</td>
</tr>
<tr>
<td style="text-align:center"></td>
<td style="text-align:center"></td>
<td style="text-align:center">IT</td>
<td style="text-align:center">HI</td>
<td style="text-align:center">NK</td>
<td style="text-align:center">EV</td>
<td style="text-align:center">EI</td>
<td style="text-align:center">SL</td>
<td style="text-align:center">IS</td>
<td style="text-align:center">TE</td>
<td style="text-align:center">NI</td>
<td style="text-align:center">NG</td>
</tr>
</tbody>
</table>
<blockquote>
<p>ITHINKEVEISLISTENING</p>
</blockquote>
<p>The pigeon reads the message and nods in agreement. Seeing this, Alice burns her scratch pad and the One-time pad. Eve can now never know what the message said.</p>
<p>As an exercise, and to demonstrate why this is such a strong encryption method, try decoding the previous cipher using the One-time pad of this:</p>
<p>0913 0835 1017 0827 9348 0594 9918 1805 2118 3082 2503</p>
<table>
<thead>
<tr>
<th style="text-align:center"></th>
<th style="text-align:center">Key</th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center"><strong>Cipher</strong></td>
<td style="text-align:center">0913</td>
<td style="text-align:center">1440</td>
<td style="text-align:center">2112</td>
<td style="text-align:center">1132</td>
<td style="text-align:center">0747</td>
<td style="text-align:center">1407</td>
<td style="text-align:center">1414</td>
<td style="text-align:center">1927</td>
<td style="text-align:center">3626</td>
<td style="text-align:center">3902</td>
<td style="text-align:center">2029</td>
</tr>
<tr>
<td style="text-align:center"><strong>One-time</strong></td>
<td style="text-align:center">0913</td>
<td style="text-align:center">0835</td>
<td style="text-align:center">1017</td>
<td style="text-align:center">0827</td>
<td style="text-align:center">9348</td>
<td style="text-align:center">0594</td>
<td style="text-align:center">9918</td>
<td style="text-align:center">1805</td>
<td style="text-align:center">2118</td>
<td style="text-align:center">3082</td>
<td style="text-align:center">2503</td>
</tr>
<tr>
<td style="text-align:center"><strong>Decode</strong></td>
<td style="text-align:center"></td>
<td style="text-align:center"></td>
<td style="text-align:center"></td>
<td style="text-align:center"></td>
<td style="text-align:center"></td>
<td style="text-align:center"></td>
<td style="text-align:center"></td>
<td style="text-align:center"></td>
<td style="text-align:center"></td>
<td style="text-align:center"></td>
</tr>
</tbody>
</table>
<p>You’ll notice the cipher is the same. It’s the same thing Eve has, but the message is different! It would have been nice to work out a message that could fit our conversion table nicely but remember that our attacker doesn’t know that either
and therefore would have to assume that on the conversion table, there are numbers that go up to 93 and so on. Often time codebooks use numbers like this as well.</p>
</div>
<div class="article__author" itemscope="" itemprop="author" itemtype="https://schema.org/Person"><img class="article__author__image" src="/images/avatar.jpg" alt="John Warren"><a class="article__author__link" title="About John Warren" rel="author">John Warren</a>
<p class="article__author__desc">Just a place to make stuff</p>
<div class="article__author__socials"><a class="article__author__socials__item" href="/atom.xml" title="rss" target="_blank"><i class="fa fa-rss"></i></a></div>
<meta itemprop="name" content="John Warren">
</div>
<div class="sharer" id="sharer">
<div class="sharer-inner">
<div class="sharer__right"><button class="sharer__item" id="sharer-facebook"><i class="fa fa-facebook-official"></i></button><button class="sharer__item" id="sharer-twitter"><i class="fa fa-twitter"></i></button><button class="sharer__item" id="sharer-pinterest"><i class="fa fa-pinterest"></i></button>
<button
class="sharer__item" id="sharer-pocket"><i class="fa fa-get-pocket"></i></button>
</div>
</div>
</div>
<!-- Disqus Code-->
<div id="disqus_thread"></div>
<script>
(function() {
var d = document,
s = d.createElement('script');
s.src = '//thebestjohn.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script><noscript>Enable JavaScript to see comments.</noscript>
<!-- Meta Tags for Structured Data-->
<meta itemprop="dateModified" content="2018-11-19T17:26:12.458Z">
<meta itemprop="articleBody" content="How does encryption work?
In order to talk about encryption, you usually have to talk about math. Lots of fairly complicated math. People write theses on encryption algorithms and base their...">
<meta itemprop="url" content="/posts/encryption-primer/">
<meta itemprop="mainEntityOfPage" content="/posts/encryption-primer/">
<div itemscope="" itemtype="https://schema.org/Organization" itemprop="publisher">
<meta itemprop="name" content="TheBestJohn">
<div itemscope="" itemprop="logo" itemtype="https://schema.org/ImageObject">
<meta itemprop="url" content="/images/icon.png">
</div>
</div>
<div itemscope="" itemtype="https://schema.org/ImageObject" itemprop="image">
<meta itemprop="contentUrl" content="/images/gpg/encrypted.png">
<meta itemprop="url" content="/images/gpg/encrypted.png">
<meta itemprop="width" content="800">
<meta itemprop="height" content="800">
</div>
</article>
<section class="related-posts">
<h3>Related posts</h3>
<div class="related-posts__item__wrapper">
<a class="related-posts__item" href="/posts/you-down-with-pgp-yeah-you-know-me/">
<div class="related-posts__item__background" style="background-image:url('/images/gpg/shhh.png');"></div>
<div class="related-posts__item__overlay"></div><span class="related-posts__item__title">You down with PGP? Yeah you know me!</span></a>
</div>
</section>
</div>
</div>
</div>
<footer id="footer">
<div class="widgets">
<div class="widgets-inner">
<!-- Jade doesn't support dynamic inclusion with `each`.-->
<!-- So, I just hard coded the file names that will be included.-->
<div class="widgets__item">
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2010/05/">May 2010</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2010/02/">February 2010</a><span class="archive-list-count">1</span></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Categories</h3>
<ul class="category-list">
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/">ESP8266/ESP32</a><span class="category-list-count">1</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Other-Electronics/">Other Electronics</a><span class="category-list-count">2</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Web-Dev/">Web Dev</a><span class="category-list-count">3</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Web-Dev/Gitlab/">Gitlab</a><span class="category-list-count">1</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Web-Dev/Gitlab/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
<p class="copyright"><small>© 2018 John Warren<br>Powered by <a href="https://hexo.io" rel="external nofollow noopener noreferrer" target="_blank">Hexo</a>, Theme by <a href="https://github.com/hyunseob" rel="external nofollow noopener noreferrer" target="_blank">HyunSeob</a></small></p>
</footer>
<script src="/js/sharer.min.js"></script>
</body>
</html>
\ No newline at end of file
......@@ -207,16 +207,16 @@
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -232,9 +232,9 @@
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -463,16 +463,16 @@ https://docs.gitlab.com/ee/user/project/pipelines/job_artifacts.html
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -488,9 +488,9 @@ https://docs.gitlab.com/ee/user/project/pipelines/job_artifacts.html
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -314,16 +314,16 @@ My...">
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -339,9 +339,9 @@ My...">
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -196,16 +196,16 @@
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -221,9 +221,9 @@
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -167,16 +167,16 @@ Web development is one heck of an industry. It changes, transforms,...">
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -192,9 +192,9 @@ Web development is one heck of an industry. It changes, transforms,...">
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -160,16 +160,16 @@
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -185,9 +185,9 @@
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
......@@ -19,7 +19,7 @@
<meta property="og:description" content="When “pretty good” is good enough PGP stands for “Pretty Good Privacy”. It’s a set of algorithms for encrypting, compressing, and signing…">
<meta property="og:locale" content="en">
<meta property="og:image" content="http://blog.thebestjohn.com/images/gpg/shhh.png">
<meta property="og:updated_time" content="2018-11-19T16:02:56.302Z">
<meta property="og:updated_time" content="2018-11-19T17:26:12.458Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="You down with PGP? Yeah you know me!">
<meta name="twitter:description" content="When “pretty good” is good enough PGP stands for “Pretty Good Privacy”. It’s a set of algorithms for encrypting, compressing, and signing…">
......@@ -96,389 +96,12 @@
anything in your house, why have a lock on the door? Why have a door at all? The answer is that A: You don’t want people wandering in. B: You want to keep bad people out.</p>
<p>The same thing goes for encryption. Your identity is something that you need to protect. Identity theft occurs every day and it has far reaching implications. On top of that. As a society, we need Whistleblowers, Journalists, and yes, sometimes
dissidents.</p>
<h2 id="How-does-encryption-work"><a href="#How-does-encryption-work" class="headerlink" title="How does encryption work?"></a>How does encryption work?</h2>
<p>In order to talk about encryption, you usually have to talk about math. Lots of fairly complicated math. People write theses on encryption algorithms and base their entire mathematical careers off them. I’ve always found it to be a very intimidating
way to approach the concept.</p>
<p>Basically, in order to encrypt something, you need a secret password known by both yourself and the person you’re trying to contact. This “shared secret” is then used to take your input data (your secret message) and transform it into something
that is unrecognizable to an outside observer. Throughout history, this has taken many forms. One-time pads are very tight encryption, the enigma machine was famous for needing the first Turing machine to be built to crack it. If you want
explanations as to how the math works for these, this isn’t the right blog.</p>
<p>This shared secret is then used in a “mathy” way to scramble the letters up in your message so much that it would be very difficult or impossible to unscramble without knowing the secret key.</p>
<p>When people talk about encryption they also always seem to use “Alice” and “Bob” as the people wanting to send messages. “Eve” is always the nefarious third party trying to spy on the communication. I don’t know why but make your own story
up.</p>
<h2 id="One-time-pad-encryption-example"><a href="#One-time-pad-encryption-example" class="headerlink" title="One-time pad encryption example"></a>One-time pad encryption example</h2>
<p>Let me take you through a quick example using a One-time Pad. A One-time pad is called such because in order for it to be secure, you can only use it once to encrypt data. Each successive use, weakens its encryption strength. They’re basically
two paper booklets that are identical to each other with random letters on them. Those random letters are identical in each pad as well. The two people wanting to send messages to one another should each have one.</p>
<p>So let’s make our super secret one time pad. First we’re going to agree on a way to turn letters into numbers. We’ll go elementary school style with just listing the numbers of the letters in the alphabet. There are many techniques to making
these, commonly called checkerboards or conversion tables, that allow for more characters and the use of a codebook to represent whole words as numbers as well.</p>
<table>
<thead>
<tr>
<th style="text-align:center">A</th>
<th style="text-align:center">B</th>
<th style="text-align:center">C</th>
<th style="text-align:center">D</th>
<th style="text-align:center">E</th>
<th style="text-align:center">F</th>
<th style="text-align:center">G</th>
<th style="text-align:center">H</th>
<th style="text-align:center">I</th>
<th style="text-align:center">J</th>
<th style="text-align:center">K</th>
<th style="text-align:center">L</th>
<th style="text-align:center">M</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">01</td>
<td style="text-align:center">02</td>
<td style="text-align:center">03</td>
<td style="text-align:center">04</td>
<td style="text-align:center">05</td>
<td style="text-align:center">06</td>
<td style="text-align:center">07</td>
<td style="text-align:center">08</td>
<td style="text-align:center">09</td>
<td style="text-align:center">10</td>
<td style="text-align:center">11</td>
<td style="text-align:center">12</td>
<td style="text-align:center">13</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th style="text-align:center">N</th>
<th style="text-align:center">O</th>
<th style="text-align:center">P</th>
<th style="text-align:center">Q</th>
<th style="text-align:center">R</th>
<th style="text-align:center">S</th>
<th style="text-align:center">T</th>
<th style="text-align:center">U</th>
<th style="text-align:center">V</th>
<th style="text-align:center">W</th>
<th style="text-align:center">X</th>
<th style="text-align:center">Y</th>
<th style="text-align:center">Z</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">14</td>
<td style="text-align:center">15</td>
<td style="text-align:center">16</td>
<td style="text-align:center">17</td>
<td style="text-align:center">18</td>
<td style="text-align:center">19</td>
<td style="text-align:center">20</td>
<td style="text-align:center">21</td>
<td style="text-align:center">22</td>
<td style="text-align:center">23</td>
<td style="text-align:center">24</td>
<td style="text-align:center">25</td>
<td style="text-align:center">26</td>
</tr>
</tbody>
</table>
<p>Next we’ll make our one time pad by generating a bunch of random letters. Important to note here that randomness is essential to this whole thing. Most of the things you <strong>think</strong> are random are not. Truly random things are difficult,
but we’re not dealing with life or death info.</p>
<p>I went to <a href="https://www.random.org/strings/" rel="external nofollow noopener noreferrer" target="_blank">random.org/strings</a> and got 20 random 2 character strings. One of the most important security rules for making iron clad One-time
Pad ciphers is to not use computers at all for encryption/decryption. You do want something truly random to make the pad and that is usually a computer of some sort. The idea is to have a computer make the One-time pad data while Alice and
Bob are together and in a safe place. That computer should not belong to either Alice or Bob and would likely be owned by Alice and Bob’s handlers. It shouldn’t be connected to any network, and for real security, should be annihilated with
antimatter after use. True randomness is hard to come by but that’s another post. When using a computer to encrypt or decrypt, Alice or Bob could leave behind data without even knowing it and it’s usually a variable that they cannot properly
control. Again, we’re just having fun.</p>
<blockquote>
<p>IM OT WM GU BY SH EB JR PU YC PV LW ZI CZ DB DM RU BH TY FV</p>
</blockquote>
<p>I’ve arranged them in 2 letter groups because this next part is how we’ll encode/decode our message. Let’s convert these to numbers. I’m just going to grab a couple to use as we won’t need all of them.</p>
<table>
<thead>
<tr>
<th style="text-align:center">IM</th>
<th style="text-align:center">OT</th>
<th style="text-align:center">WM</th>
<th style="text-align:center">GU</th>
<th style="text-align:center">BY</th>
<th style="text-align:center">SH</th>
<th style="text-align:center">EB</th>
<th style="text-align:center">JR</th>
<th style="text-align:center">PU</th>
<th style="text-align:center">YC</th>
<th style="text-align:center">PV</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">0913</td>
<td style="text-align:center">1520</td>
<td style="text-align:center">2313</td>
<td style="text-align:center">0721</td>
<td style="text-align:center">0225</td>
<td style="text-align:center">1908</td>
<td style="text-align:center">0502</td>
<td style="text-align:center">1018</td>
<td style="text-align:center">1621</td>
<td style="text-align:center">2503</td>
<td style="text-align:center">1622</td>
</tr>
</tbody>
</table>
<h3 id="Encrypting"><a href="#Encrypting" class="headerlink" title="Encrypting"></a>Encrypting</h3>
<p>We’re going to now use this to encode our secret message “I THINK EVE IS LISTENING” by grouping them by two characters, removing spaces, and formatting it like we did before. We do this because we don’t want “Eve” to know how many characters
each word has. That would be a hint to our message’s contents.</p>
<table>
<thead>
<tr>
<th style="text-align:center">IT</th>
<th style="text-align:center">HI</th>
<th style="text-align:center">NK</th>
<th style="text-align:center">EV</th>
<th style="text-align:center">EI</th>
<th style="text-align:center">SL</th>
<th style="text-align:center">IS</th>
<th style="text-align:center">TE</th>
<th style="text-align:center">NI</th>
<th style="text-align:center">NG</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">0920</td>
<td style="text-align:center">0809</td>
<td style="text-align:center">1411</td>
<td style="text-align:center">0522</td>
<td style="text-align:center">0509</td>
<td style="text-align:center">1912</td>
<td style="text-align:center">0919</td>
<td style="text-align:center">2005</td>
<td style="text-align:center">1409</td>
<td style="text-align:center">1407</td>
</tr>
</tbody>
</table>
<p>The next part is where the magic happens. We are going to keep the first secret key the same so Alice can know which One-time pad to use to decode the message. Ideally a One-Time pad is made up of several pages of random characters and you’ll
need a way to let each other know which one you’re using. So we’re going to line up the data and add one to the other. We’re only adding the individual digits and ignoring any time it goes over 10 by just writing the remainder. This is called
Modulus 10, but that’s getting into the “mathy” thing we talked about. Just think <code>9 + 4 = 13</code> so we take off the <code>10</code> part and end up with <code>3</code>.</p>
<table>
<thead>
<tr>
<th style="text-align:center"></th>
<th style="text-align:center">Key</th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center"><strong>Secret</strong></td>
<td style="text-align:center"></td>
<td style="text-align:center">0920</td>
<td style="text-align:center">0809</td>
<td style="text-align:center">1411</td>
<td style="text-align:center">0522</td>
<td style="text-align:center">0509</td>
<td style="text-align:center">1912</td>
<td style="text-align:center">0919</td>
<td style="text-align:center">2005</td>
<td style="text-align:center">1409</td>
<td style="text-align:center">1407</td>
</tr>
<tr>
<td style="text-align:center"><strong>One-time</strong></td>
<td style="text-align:center">0913</td>
<td style="text-align:center">1520</td>
<td style="text-align:center">2313</td>
<td style="text-align:center">0721</td>
<td style="text-align:center">0225</td>
<td style="text-align:center">1908</td>
<td style="text-align:center">0502</td>
<td style="text-align:center">1018</td>
<td style="text-align:center">1621</td>
<td style="text-align:center">2503</td>
<td style="text-align:center">1622</td>
</tr>
<tr>
<td style="text-align:center"><strong>Cipher</strong></td>
<td style="text-align:center">0913</td>
<td style="text-align:center">1440</td>
<td style="text-align:center">2112</td>
<td style="text-align:center">1132</td>
<td style="text-align:center">0747</td>
<td style="text-align:center">1407</td>
<td style="text-align:center">1414</td>
<td style="text-align:center">1927</td>
<td style="text-align:center">3626</td>
<td style="text-align:center">3902</td>
<td style="text-align:center">2029</td>
</tr>
</tbody>
</table>
<p>Remember we are only adding single digits. You should never be adding more than one digit from the message to more than one digit of the One-time at a time.</p>
<p>Now that we have our secret encrypted cipher text, we destroy our pad and it will be secure. If we’re caught with the message we wouldn’t be able to provide a way to read it even with a 5$ wrench attack.</p>
<blockquote>
<p>0913 1440 2112 1132 0747 1407 1414 1927 3626 3902 2029</p>
</blockquote>
<h3 id="Decrypting"><a href="#Decrypting" class="headerlink" title="Decrypting"></a>Decrypting</h3>
<p>So Bob sends his message to Alice via carrier pigeon. Eve has a fleet of pigeon intercepting hawks who grab Bob’s pigeon so Eve can copy down the message and send them on their way. Upon arriving, the pigeon tells Alice its harrowing tale.
Unfortunately, Alice doesn’t understand the pigeon’s regional dialect but even if she did, she would not be concerned that the message’s contents were compromised. </p>
<p>To decrypt, Alice needs to take the secret Cipher, and subtract her secret key from it using the same modulus method (subtracting the remainder from 10) so <code>3 - 9 = -2</code> which would mean <code>10 - 2 = 8</code></p>
<table>
<thead>
<tr>
<th style="text-align:center"></th>
<th style="text-align:center">Key</th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center"><strong>Cipher</strong></td>
<td style="text-align:center">0913</td>
<td style="text-align:center">1440</td>
<td style="text-align:center">2112</td>
<td style="text-align:center">1132</td>
<td style="text-align:center">0747</td>
<td style="text-align:center">1407</td>
<td style="text-align:center">1414</td>
<td style="text-align:center">1927</td>
<td style="text-align:center">3626</td>
<td style="text-align:center">3902</td>
<td style="text-align:center">2029</td>
</tr>
<tr>
<td style="text-align:center"><strong>One-time</strong></td>
<td style="text-align:center">0913</td>
<td style="text-align:center">1520</td>
<td style="text-align:center">2313</td>
<td style="text-align:center">0721</td>
<td style="text-align:center">0225</td>
<td style="text-align:center">1908</td>
<td style="text-align:center">0502</td>
<td style="text-align:center">1018</td>
<td style="text-align:center">1621</td>
<td style="text-align:center">2503</td>
<td style="text-align:center">1622</td>
</tr>
<tr>
<td style="text-align:center"><strong>Decode</strong></td>
<td style="text-align:center"></td>
<td style="text-align:center">0920</td>
<td style="text-align:center">0809</td>
<td style="text-align:center">1411</td>
<td style="text-align:center">0522</td>
<td style="text-align:center">0509</td>
<td style="text-align:center">1912</td>
<td style="text-align:center">0919</td>
<td style="text-align:center">2005</td>
<td style="text-align:center">1409</td>
<td style="text-align:center">1407</td>
</tr>
<tr>
<td style="text-align:center"></td>
<td style="text-align:center"></td>
<td style="text-align:center">IT</td>
<td style="text-align:center">HI</td>
<td style="text-align:center">NK</td>
<td style="text-align:center">EV</td>
<td style="text-align:center">EI</td>
<td style="text-align:center">SL</td>
<td style="text-align:center">IS</td>
<td style="text-align:center">TE</td>
<td style="text-align:center">NI</td>
<td style="text-align:center">NG</td>
</tr>
</tbody>
</table>
<blockquote>
<p>ITHINKEVEISLISTENING</p>
</blockquote>
<p>The pigeon reads the message and nods in agreement. Seeing this, Alice burns her scratch pad and the One-time pad. Eve can now never know what the message said.</p>
<p>As an exercise, and to demonstrate why this is such a strong encryption method, try decoding the previous cipher using the One-time pad of this:</p>
<p>0913 0835 1017 0827 9348 0594 9918 1805 2118 3082 2503</p>
<table>
<thead>
<tr>
<th style="text-align:center"></th>
<th style="text-align:center">Key</th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
<th style="text-align:center"></th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center"><strong>Cipher</strong></td>
<td style="text-align:center">0913</td>
<td style="text-align:center">1440</td>
<td style="text-align:center">2112</td>
<td style="text-align:center">1132</td>
<td style="text-align:center">0747</td>
<td style="text-align:center">1407</td>
<td style="text-align:center">1414</td>
<td style="text-align:center">1927</td>
<td style="text-align:center">3626</td>
<td style="text-align:center">3902</td>
<td style="text-align:center">2029</td>
</tr>
<tr>
<td style="text-align:center"><strong>One-time</strong></td>
<td style="text-align:center">0913</td>
<td style="text-align:center">0835</td>
<td style="text-align:center">1017</td>
<td style="text-align:center">0827</td>
<td style="text-align:center">9348</td>
<td style="text-align:center">0594</td>
<td style="text-align:center">9918</td>
<td style="text-align:center">1805</td>
<td style="text-align:center">2118</td>
<td style="text-align:center">3082</td>
<td style="text-align:center">2503</td>
</tr>
<tr>
<td style="text-align:center"><strong>Decode</strong></td>
<td style="text-align:center"></td>
<td style="text-align:center"></td>
<td style="text-align:center"></td>
<td style="text-align:center"></td>
<td style="text-align:center"></td>
<td style="text-align:center"></td>
<td style="text-align:center"></td>
<td style="text-align:center"></td>
<td style="text-align:center"></td>
<td style="text-align:center"></td>
</tr>
</tbody>
</table>
<p>You’ll notice the cipher is the same. It’s the same thing Eve has, but the message is different! It would have been nice to work out a message that could fit our conversion table nicely but remember that our attacker doesn’t know that either
and therefore would have to assume that on the conversion table, there are numbers that go up to 93 and so on. Often time codebooks use numbers like this as well.</p>
<h2 id="Sending-secret-messages"><a href="#Sending-secret-messages" class="headerlink" title="Sending secret messages"></a>Sending secret messages</h2>
<p>We’re going to be talking about Alice, Bob, and Eve. Alice and Bob want to share secret messages and don’t want Eve to be able to read them. Alice and Bob could have something called a <strong><em>Shared secret key</em></strong> that they
use to encrypt a message via a <em>Symmetric Encryption</em> algorithm. They both have a copy of the key and therefore can both encrypt and decrypt messages. Eve is out of luck</p>
<p>If you haven’t already, or you’d like an example of this, check out the <a href="/posts/encryption-primer/" title="Encryption Primer">Encryption Primer</a> to understand a bit more about the basics.</p>
<h2 id="Circling-back-to-GPG"><a href="#Circling-back-to-GPG" class="headerlink" title="Circling back to GPG"></a>Circling back to <abbr title="GNU Privacy Guard">GPG</abbr></h2>
<p>What if Alice and Bob were never in the same room together? As soon as anyone, outside Alice and Bob, put their hands on a One-time pad, it should be considered compromised and, for all intents and purposes, useless.</p>
<p>What if Alice and Bob were never in the same room together? As soon as anyone, outside Alice and Bob, put their hands on the secret key, it should be considered <strong>compromised</strong> and, <em>for all intents and purposes</em>, <strong>useless</strong>.</p>
<p>This is where <em>Asymmetric encryption</em> comes in. <abbr title="GNU Privacy Guard">GPG</abbr> uses something called <strong>key-pairs</strong>. When Bob wants to get secret information he makes his key pair with an encryption function.
That key pair consists of a <em>public</em> key and a <em>private</em> key. Anyone can know the public key. It’s public, and won’t compromise the security of the message. Sometimes it’s helpful to think of the public key as more of a public
lock. Anyone can put a message in a box and lock it with that public lock but only Bob can unlock it. Alice also has a key pair. The purpose of these public keys are to both encrypt data and authenticate data. If Alice uses Bob’s public
......@@ -520,6 +143,7 @@
useful features of other systems, and more info on why it’s a good idea to not make crypto yourself and instead rely on the genius of others. Until then, try to come up with an explanation of <code>forward secrecy</code>. Think about how
you could change your key every message, Think about what would happen if you received a message out of order in that scenario. How would you protect earlier messages from being decrypted if your key was leaked?</p>
<p>As always, let me know if you have any questions or something you’d like me to add.</p>
<!-- https://github.com/sobolevn/awesome-cryptography#symmetric-encryption -->
</div>
<div class="article__author" itemscope="" itemprop="author" itemtype="https://schema.org/Person"><img class="article__author__image" src="/images/avatar.jpg" alt="John Warren"><a class="article__author__link" title="About John Warren" rel="author">John Warren</a>
<p class="article__author__desc">Just a place to make stuff</p>
......@@ -546,7 +170,7 @@
})();
</script><noscript>Enable JavaScript to see comments.</noscript>
<!-- Meta Tags for Structured Data-->
<meta itemprop="dateModified" content="2018-11-19T16:02:56.302Z">
<meta itemprop="dateModified" content="2018-11-19T17:26:12.458Z">
<meta itemprop="articleBody" content="When “pretty good” is good enough
PGP stands for “Pretty Good Privacy”. It’s a set of algorithms for encrypting, compressing, and signing data so that a specific person can open and read that...">
<meta itemprop="url" content="/posts/you-down-with-pgp-yeah-you-know-me/">
......@@ -564,6 +188,14 @@ PGP stands for “Pretty Good Privacy”. It’s a set of algorithms for encrypt
<meta itemprop="height" content="600">
</div>
</article>
<section class="related-posts">
<h3>Related posts</h3>
<div class="related-posts__item__wrapper">
<a class="related-posts__item" href="/posts/encryption-primer/">
<div class="related-posts__item__background" style="background-image:url('/images/gpg/encrypted.png');"></div>
<div class="related-posts__item__overlay"></div><span class="related-posts__item__title">Encryption Primer, How does this all work?</span></a>
</div>
</section>
</div>
</div>
</div>
......@@ -576,16 +208,16 @@ PGP stands for “Pretty Good Privacy”. It’s a set of algorithms for encrypt
<h3 class="widgets__item__heading">Recent posts</h3>
<ul class="recent-posts">
<li class="recent-posts__item"><a href="/posts/you-down-with-pgp-yeah-you-know-me/">You down with PGP? Yeah you know me!</a></li>
<li class="recent-posts__item"><a href="/posts/encryption-primer/">Encryption Primer, How does this all work?</a></li>
<li class="recent-posts__item"><a href="/posts/base16-and-all-that-jazz/">Base16 and all that Jazz</a></li>
<li class="recent-posts__item"><a href="/posts/sonoff-micropython-wonderland/">SONOFF MicroPython Wonderland</a></li>
<li class="recent-posts__item"><a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a></li>
<li class="recent-posts__item"><a href="/posts/static-what-generator/">Static what Generator?!</a></li>
</ul>
</div>
<div class="widgets__item">
<h3 class="widgets__item__heading">Archives</h3>
<ul class="archive-list">
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">3</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">May 2018</a><span class="archive-list-count">1</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">April 2018</a><span class="archive-list-count">2</span></li>
<li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08/">August 2012</a><span class="archive-list-count">1</span></li>
......@@ -601,9 +233,9 @@ PGP stands for “Pretty Good Privacy”. It’s a set of algorithms for encrypt
<li class="category-list-item"><a class="category-list-link" href="/categories/ESP8266-ESP32/Automation/">Automation</a><span class="category-list-count">1</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">1</span>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/">Encryption</a><span class="category-list-count">2</span>
<ul class="category-list-child">
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Encryption/Fundamentals/">Fundamentals</a><span class="category-list-count">2</span></li>
</ul>
</li>
<li class="category-list-item"><a class="category-list-link" href="/categories/Fundamentals/">Fundamentals</a><span class="category-list-count">1</span></li>
......
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://blog.thebestjohn.com/posts/encryption-primer/</loc>
<lastmod>2018-11-19T17:26:12.458Z</lastmod>
</url>
<url>
<loc>http://blog.thebestjohn.com/posts/you-down-with-pgp-yeah-you-know-me/</loc>
<lastmod>2018-11-19T16:02:56.302Z</lastmod>
<lastmod>2018-11-19T17:26:12.458Z</lastmod>
</url>
......@@ -51,28 +58,28 @@
</url>
<url>
<loc>http://blog.thebestjohn.com/posts/matrix-keypad/</loc>
<loc>http://blog.thebestjohn.com/posts/sonoff-micropython-wonderland/</loc>
<lastmod>2018-11-03T23:30:58.784Z</lastmod>
</url>
<url>
<loc>http://blog.thebestjohn.com/posts/sonoff-micropython-wonderland/</loc>
<loc>http://blog.thebestjohn.com/posts/matrix-keypad/</loc>
<lastmod>2018-11-03T23:30:58.784Z</lastmod>
</url>
<url>
<loc>http://blog.thebestjohn.com/about/index.html</loc>
<loc>http://blog.thebestjohn.com/posts/setting-up-hexo-auto-deploy-from-gitlab/</loc>
<lastmod>2018-11-03T23:30:58.784Z</lastmod>
</url>
<url>
<loc>http://blog.thebestjohn.com/posts/setting-up-hexo-auto-deploy-from-gitlab/</loc>
<loc>http://blog.thebestjohn.com/about/index.html</loc>
<lastmod>2018-11-03T23:30:58.784Z</lastmod>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment