<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>cryptography on Roger&#39;s Blog</title>
		<link>https://blog.differentpla.net/tags/cryptography/</link>
		<description>Recent content in cryptography on Roger&#39;s Blog</description>
		<generator>Hugo</generator>
		<language>en</language>
		
		
		
		
			<lastBuildDate>Fri, 08 Dec 2023 14:10:00 +0000</lastBuildDate>
		
			<atom:link href="https://blog.differentpla.net/tags/cryptography/feed.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Using Elliptic Curve keys for signing in Erlang</title>
				<link>https://blog.differentpla.net/blog/2023/12/08/elliptic-curve-signing-erlang/</link>
				<pubDate>Fri, 08 Dec 2023 14:10:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2023/12/08/elliptic-curve-signing-erlang/</guid>
				<description>&lt;p&gt;How do I sign (and verify) things in Erlang, using an ECDSA key?&lt;/p&gt;</description>
			</item>
			<item>
				<title>Using RSA keys for encryption and decryption in Erlang</title>
				<link>https://blog.differentpla.net/blog/2023/02/14/rsa-encryption-erlang/</link>
				<pubDate>Tue, 14 Feb 2023 09:39:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2023/02/14/rsa-encryption-erlang/</guid>
				<description>&lt;p&gt;How do I encrypt (and decrypt) things in Erlang, using an RSA key?&lt;/p&gt;</description>
			</item>
			<item>
				<title>Encrypting a JSON Web Token in Erlang, using JOSE</title>
				<link>https://blog.differentpla.net/blog/2023/02/13/jwt-encryption-jose/</link>
				<pubDate>Mon, 13 Feb 2023 17:46:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2023/02/13/jwt-encryption-jose/</guid>
				<description>&lt;p&gt;In an earlier post, I showed how to &lt;a href=&#34;https://blog.differentpla.net/blog/2023/02/13/jwt-encryption-erlang/&#34;&gt;encrypt a JSON Web Token in Erlang&lt;/a&gt;. I used plain-ol&amp;rsquo; Erlang. Here&amp;rsquo;s how to use the&#xA;&lt;a href=&#34;https://hex.pm/packages/jose&#34;&gt;jose&lt;/a&gt; package to do the same thing.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Encrypting a JSON Web Token in Erlang</title>
				<link>https://blog.differentpla.net/blog/2023/02/13/jwt-encryption-erlang/</link>
				<pubDate>Mon, 13 Feb 2023 15:37:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2023/02/13/jwt-encryption-erlang/</guid>
				<description>&lt;p&gt;Following on from &lt;a href=&#34;https://blog.differentpla.net/blog/2023/02/09/jwt-signing-erlang/&#34;&gt;signing a web token in Erlang&lt;/a&gt;, here&amp;rsquo;s how to&#xA;encrypt one.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Signing a JSON Web Token in Erlang, using JOSE</title>
				<link>https://blog.differentpla.net/blog/2023/02/11/jwt-signing-erlang-jose/</link>
				<pubDate>Sat, 11 Feb 2023 14:45:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2023/02/11/jwt-signing-erlang-jose/</guid>
				<description>&lt;p&gt;In an earlier post, I showed how to &lt;a href=&#34;https://blog.differentpla.net/blog/2023/02/09/jwt-signing-erlang/&#34;&gt;sign a JSON Web Token in Erlang&lt;/a&gt;. I used plain-ol&amp;rsquo; Erlang. Here&amp;rsquo;s how to use the &lt;a href=&#34;https://hex.pm/packages/jose&#34;&gt;jose&lt;/a&gt; package to do the same thing.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Signing a JSON Web Token in Erlang</title>
				<link>https://blog.differentpla.net/blog/2023/02/09/jwt-signing-erlang/</link>
				<pubDate>Thu, 09 Feb 2023 16:52:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2023/02/09/jwt-signing-erlang/</guid>
				<description>&lt;p&gt;About 8 years ago, I wrote a post about &lt;a href=&#34;https://blog.differentpla.net/blog/2015/04/19/jwt-rs256-erlang/&#34;&gt;verifying JSON Web Tokens (JWT) in Erlang&lt;/a&gt;.&#xA;3 years later, I wrote another post about &lt;a href=&#34;https://blog.differentpla.net/blog/2017/10/05/google-pub-sub-bash/&#34;&gt;signing a JWT in bash&lt;/a&gt;.&#xA;This is a post combining the two: here&amp;rsquo;s how you sign a JWT using Erlang.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Using RSA keys for signing in Erlang</title>
				<link>https://blog.differentpla.net/blog/2023/02/08/rsa-signing-erlang/</link>
				<pubDate>Wed, 08 Feb 2023 14:06:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2023/02/08/rsa-signing-erlang/</guid>
				<description>&lt;p&gt;How do I sign (and verify) things in Erlang, using an RSA key?&lt;/p&gt;</description>
			</item>
			<item>
				<title>Wrapping an RSA private key with Erlang</title>
				<link>https://blog.differentpla.net/blog/2023/02/08/wrap-rsa-private-key-erlang/</link>
				<pubDate>Wed, 08 Feb 2023 11:13:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2023/02/08/wrap-rsa-private-key-erlang/</guid>
				<description>&lt;p&gt;The previous post finished up by writing an RSA public key in &amp;ldquo;wrapped&amp;rdquo; (PKCS#8) PEM-format. It occurred to me that I should probably show how to do the same with the &lt;em&gt;private&lt;/em&gt; key as well.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Generating an RSA key with Erlang</title>
				<link>https://blog.differentpla.net/blog/2023/02/07/generate-rsa-key-erlang/</link>
				<pubDate>Tue, 07 Feb 2023 18:39:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2023/02/07/generate-rsa-key-erlang/</guid>
				<description>&lt;p&gt;I&amp;rsquo;m currently doing something that needs RSA keys, so here are some Erlang snippets showing how to create one.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Erlang and ed25519</title>
				<link>https://blog.differentpla.net/blog/2021/06/10/erlang-ed25519/</link>
				<pubDate>Thu, 10 Jun 2021 13:18:00 +0000</pubDate>
				<guid>https://blog.differentpla.net/blog/2021/06/10/erlang-ed25519/</guid>
				<description>&lt;p&gt;Erlang/OTP 24.0 added support for ed25519 curves. Here&amp;rsquo;s some example snippets:&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
