<?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>Data Encryption</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78025/data-encryption</link><description>Hi nRF team, 
 we are building our project on top ble_template_example, and we want data encryption for bluetooth data . 
 we have seen below ways :- 
 1.) AES Encryption 
 2.) BLE_GAP_CONN_SEC_MODE Permissions 
 
 pls suggest which one is more feasible</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Aug 2021 08:35:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78025/data-encryption" /><item><title>RE: Data Encryption</title><link>https://devzone.nordicsemi.com/thread/323247?ContentTypeID=1</link><pubDate>Wed, 04 Aug 2021 08:35:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b59f3fee-b180-4f18-9756-c01e63a86f23</guid><dc:creator>vinaysingh</dc:creator><description>&lt;p&gt;okay thanks a lot Amanda.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data Encryption</title><link>https://devzone.nordicsemi.com/thread/323032?ContentTypeID=1</link><pubDate>Tue, 03 Aug 2021 09:08:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:194a0729-f20c-4a95-8ff3-609bceca22ff</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Our app expert thinks this question is for&amp;nbsp;StackOverflow instead of us.&lt;/p&gt;
&lt;p&gt;One possible way could&amp;nbsp;be just to encrypt the data and send them over and decrypt it on the fw side. For the mobile application side, it could use a third-party library for encryption. The OS should handle the encryption if you are using LESC.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data Encryption</title><link>https://devzone.nordicsemi.com/thread/322781?ContentTypeID=1</link><pubDate>Mon, 02 Aug 2021 05:56:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22d8d53a-d05d-4e42-8d59-55b72210a379</guid><dc:creator>vinaysingh</dc:creator><description>&lt;p&gt;Hi Amanda, thank you for replying !&lt;/p&gt;
&lt;p&gt;In our project, central device is Mobile App and peripheral device is nRF52 DK.&lt;/p&gt;
&lt;p&gt;Question :-&lt;/p&gt;
&lt;p&gt;1.) Pls suggest what configuration we have to make at mobile application side for AES Data encryption ?&lt;/p&gt;
&lt;p&gt;or which above data encryption method will be more feasible ?&lt;/p&gt;
&lt;p&gt;*Note : Our peripheral device is not an beacon and we are using &amp;quot;Just works&amp;quot; method for pairing with Mobile App*&lt;/p&gt;
&lt;p&gt;Thank You !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data Encryption</title><link>https://devzone.nordicsemi.com/thread/322507?ContentTypeID=1</link><pubDate>Thu, 29 Jul 2021 14:15:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f37f32f5-630c-4893-8c63-370ee08588ef</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;These two ways are practical. You can simply put your crypto code into the beacon and scanner example, and it should work. There is one tedious task that needs to be done, though, and that is to add all dependencies for nrf_crypto (include paths and .c files) and add needed sdk_config configuration macros. The easiest way to get this could be to use example projects that use pairing, as the peer manager has dependencies of nrf_crypto.&amp;nbsp;Please see this &lt;a title="Experimental: LE Secure Connections Multirole Example" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/ble_sdk_app_multirole_lesc.html?cp=8_1_4_2_1_3"&gt;LE Secure Connections Multirole Example&lt;/a&gt;&amp;nbsp;which uses LESC and ARM Cryptocell CC310 backend AES mode for nRF52840.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>