<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cipher on Samarthya</title><link>https://samarthya.me/tags/cipher/</link><description>Recent content in Cipher on Samarthya</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© Samarthya 2018-2026. All rights reserved.</copyright><lastBuildDate>Tue, 12 May 2020 11:23:34 +0000</lastBuildDate><atom:link href="https://samarthya.me/tags/cipher/index.xml" rel="self" type="application/rss+xml"/><item><title>GoLang: SmipleCipher v2.0</title><link>https://samarthya.me/posts/golang-smiplecipher-v2-0/</link><pubDate>Tue, 12 May 2020 11:23:34 +0000</pubDate><guid>https://samarthya.me/posts/golang-smiplecipher-v2-0/</guid><description>&lt;p&gt;So continuing from the last &lt;a href="https://samarthya.me/posts/golang-simplecipher/" &gt;blog&lt;/a&gt; where I wrote a crude version of SimpleCipher and was inclined on removing the duplicate code, here I am with the improved version.&lt;/p&gt;&#10;&lt;figure&gt;&lt;img&#10; class="my-0 rounded-md"&#10; loading="lazy"&#10; decoding="async"&#10; fetchpriority="auto"&#10; alt="Caesar cipher diagram: each letter is shifted three positions along the alphabet"&#10; width="300"&#10; height="127"&#10; src="https://samarthya.me/posts/golang-smiplecipher-v2-0/simplecipher.png"&#10; srcset="https://samarthya.me/posts/golang-smiplecipher-v2-0/simplecipher.png 800w, https://samarthya.me/posts/golang-smiplecipher-v2-0/simplecipher.png 1280w"&#10; sizes="(min-width: 768px) 50vw, 65vw"&#10; data-zoom-src="https://samarthya.me/posts/golang-smiplecipher-v2-0/simplecipher.png"&gt;&lt;/figure&gt;&#10;&#10;&lt;h3 class="relative group"&gt;Handy links&#10; &lt;div id="handy-links" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#handy-links" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h3&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;code&gt;[fmt&lt;/code&gt;](&lt;a href="https://golang.org/pkg/fmt/" target="_blank" rel="noreferrer"&gt;https://golang.org/pkg/fmt/&lt;/a&gt;) package&lt;/li&gt;&#10;&lt;li&gt;&lt;code&gt;[strings](https://golang.org/pkg/strings/)&lt;/code&gt; package.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&#10;&lt;h2 class="relative group"&gt;Defining &lt;code&gt;types&lt;/code&gt;&#10; &lt;div id="defining-types" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#defining-types" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;While I compiled and unit tested code the general feeling was what can be optimized.&lt;/p&gt;</description></item><item><title>GoLang: SimpleCipher</title><link>https://samarthya.me/posts/golang-simplecipher/</link><pubDate>Mon, 11 May 2020 10:14:20 +0000</pubDate><guid>https://samarthya.me/posts/golang-simplecipher/</guid><description>&lt;p&gt;Hello back again, Golang is just a new syntax for me. Even though behind the scenes they developers have simplified many things, for a consumer like me writing a program is more about learning the new syntax and getting familiarized with the control and stack.&lt;/p&gt;</description></item></channel></rss>