<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Symmetric on DevLogs</title><link>https://blog.param.sh/tags/symmetric/</link><description>Recent content in Symmetric on DevLogs</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 02 May 2026 07:07:33 +0530</lastBuildDate><atom:link href="https://blog.param.sh/tags/symmetric/index.xml" rel="self" type="application/rss+xml"/><item><title>CSR Formats, X.509 Standard, and more...</title><link>https://blog.param.sh/posts/other-components-of-tls/</link><pubDate>Sat, 02 May 2026 07:07:33 +0530</pubDate><guid>https://blog.param.sh/posts/other-components-of-tls/</guid><description>&lt;h1 id="what-are-x509-certificates"&gt;
 What are X.509 certificates?
 &lt;a class="heading-link" href="#what-are-x509-certificates"&gt;
 &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading"&gt;&lt;/i&gt;
 &lt;span class="sr-only"&gt;Link to heading&lt;/span&gt;
 &lt;/a&gt;
&lt;/h1&gt;
&lt;p&gt;A X.509 is the standard certificate format of signed certificate which contains details like the server’s public key, the domain name it’s valid for, who issued it, how long it’s valid etc.&lt;/p&gt;
&lt;p&gt;You don’t really need to memorize the structure, but the idea is that every certificate on the internet follows the same blueprint, so browsers know exactly where to look for things like the public key, issuer, and signature. It’s what makes the whole system interoperable.&lt;/p&gt;</description></item><item><title>Refresher on Symmetric vs Asymmetric Encryption</title><link>https://blog.param.sh/posts/symmetric-vs-asymmetric-encryption/</link><pubDate>Sat, 18 Apr 2026 18:23:33 +0530</pubDate><guid>https://blog.param.sh/posts/symmetric-vs-asymmetric-encryption/</guid><description>&lt;p&gt;Before we jump into TLS, certificates, and all the “why is my browser yelling at me” stuff… we need to get one thing straight:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;How encryption actually works underneath?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;There are &lt;strong&gt;two types of encryption&lt;/strong&gt; you’ll see everywhere:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Asymmetric&lt;/li&gt;
&lt;li&gt;Symmetric&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id="symmetric-encryption-same-key-both-sides"&gt;
 Symmetric Encryption (Same Key, Both Sides)
 &lt;a class="heading-link" href="#symmetric-encryption-same-key-both-sides"&gt;
 &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading"&gt;&lt;/i&gt;
 &lt;span class="sr-only"&gt;Link to heading&lt;/span&gt;
 &lt;/a&gt;
&lt;/h1&gt;
&lt;p&gt;This is the simpler one. This is where you and I share a secret key.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I encrypt using that key&lt;/li&gt;
&lt;li&gt;You decrypt using the same key&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Encrypt(message, key) -&amp;gt; ciphertext
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Decrypt(ciphertext, key) -&amp;gt; message
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;It’s useful because it’s really fast—like, very fast—and that makes it great for handling large amounts of data without slowing things down. Also note that in context of this &lt;a href="https://blog.param.sh/series/encryption-in-transit" &gt;series&lt;/a&gt;, it typically is used after a connection has already been established.&lt;/p&gt;</description></item></channel></rss>