<?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 Dapr Docs</title><link>https://v1-18.docs.dapr.io/developing-applications/building-blocks/cryptography/</link><description>Recent content in Cryptography on Dapr Docs</description><generator>Hugo</generator><language>en</language><atom:link href="https://v1-18.docs.dapr.io/developing-applications/building-blocks/cryptography/index.xml" rel="self" type="application/rss+xml"/><item><title>Cryptography overview</title><link>https://v1-18.docs.dapr.io/developing-applications/building-blocks/cryptography/cryptography-overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://v1-18.docs.dapr.io/developing-applications/building-blocks/cryptography/cryptography-overview/</guid><description>&lt;p>With the cryptography building block, you can leverage cryptography in a safe and consistent way. Dapr exposes APIs that allow you to perform operations, such as encrypting and decrypting messages, within key vaults or the Dapr sidecar, without exposing cryptographic keys to your application.&lt;/p>
&lt;h2 id="why-cryptography">Why Cryptography?&lt;/h2>
&lt;p>Applications make extensive use of cryptography, which, when implemented correctly, can make solutions safer even when data is compromised. In certain cases, you may be required to use cryptography to comply with industry regulations (for example, in finance) or legal requirements (including privacy regulations such as GDPR).&lt;/p></description></item><item><title>How to: Use the cryptography APIs</title><link>https://v1-18.docs.dapr.io/developing-applications/building-blocks/cryptography/howto-cryptography/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://v1-18.docs.dapr.io/developing-applications/building-blocks/cryptography/howto-cryptography/</guid><description>&lt;p>Now that you&amp;rsquo;ve read about &lt;a href="https://v1-18.docs.dapr.io/developing-applications/building-blocks/cryptography/cryptography-overview/">Cryptography as a Dapr building block&lt;/a>, let&amp;rsquo;s walk through using the cryptography APIs with the SDKs.&lt;/p>


&lt;div class="alert alert-primary" role="alert">
&lt;h4 class="alert-heading">Note&lt;/h4>

 Dapr cryptography is currently in alpha.

&lt;/div>

&lt;h2 id="encrypt">Encrypt&lt;/h2>










&lt;ul class="nav nav-tabs" id="tabs-2" role="tablist">
 &lt;li class="nav-item">
 &lt;button class="nav-link active"
 id="tabs-02-00-tab" data-bs-toggle="tab" data-bs-target="#tabs-02-00" role="tab"
 data-td-tp-persist="python" aria-controls="tabs-02-00" aria-selected="true">
 Python
 &lt;/button>
 &lt;/li>&lt;li class="nav-item">
 &lt;button class="nav-link"
 id="tabs-02-01-tab" data-bs-toggle="tab" data-bs-target="#tabs-02-01" role="tab"
 data-td-tp-persist="javascript" aria-controls="tabs-02-01" aria-selected="false">
 JavaScript
 &lt;/button>
 &lt;/li>&lt;li class="nav-item">
 &lt;button class="nav-link"
 id="tabs-02-02-tab" data-bs-toggle="tab" data-bs-target="#tabs-02-02" role="tab"
 data-td-tp-persist=".net" aria-controls="tabs-02-02" aria-selected="false">
 .NET
 &lt;/button>
 &lt;/li>&lt;li class="nav-item">
 &lt;button class="nav-link"
 id="tabs-02-03-tab" data-bs-toggle="tab" data-bs-target="#tabs-02-03" role="tab"
 data-td-tp-persist="go" aria-controls="tabs-02-03" aria-selected="false">
 Go
 &lt;/button>
 &lt;/li>
&lt;/ul>

&lt;div class="tab-content" id="tabs-2-content">
 &lt;div class="tab-body tab-pane fade show active"
 id="tabs-02-00" role="tabpanel" aria-labelled-by="tabs-02-00-tab" tabindex="2">
 &lt;!--Python-->
&lt;p>Using the Dapr SDK in your project, with the gRPC APIs, you can encrypt a stream of data, such as a file or a string:&lt;/p></description></item></channel></rss>