<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>I&amp;#39;m curious about the mode of encryption AES.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74620/i-m-curious-about-the-mode-of-encryption-aes</link><description>Hello 
 I&amp;#39;m going to use AES for encryption and decryption testing of data this time. 
 Looking at the example of SDK, there are several AES modes, can you tell me the difference between them? 
 And when I say that I send encrypted data to the app, does</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 30 Apr 2021 15:19:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74620/i-m-curious-about-the-mode-of-encryption-aes" /><item><title>RE: I'm curious about the mode of encryption AES.</title><link>https://devzone.nordicsemi.com/thread/307707?ContentTypeID=1</link><pubDate>Fri, 30 Apr 2021 15:19:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:326c2bdc-4efb-4de9-bfb5-33b5d499df1d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I&amp;#39;d suggest you take a look at the wikipedia page &lt;a href="https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation"&gt;here&lt;/a&gt;. It provides a good explanation of the different operation modes you can use. &lt;/p&gt;
[quote user=""]And when I say that I send encrypted data to the app, does the app proceed with data decryption?[/quote]
&lt;p&gt;&amp;nbsp;It depends on your implementation. Data will be decrypted before it reaches the application if you use link encryption in our Bluetooth examples. You could also have an application where the data is encrypted/decrypted at application layer like discussed here: &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/intro-to-application-level-security-using-the-ecb-"&gt;https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/intro-to-application-level-security-using-the-ecb-&lt;/a&gt; &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>