<?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>NFC transmits crucial data</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93292/nfc-transmits-crucial-data</link><description>Hello! 
 
 I am now developing a product with NFC based on nrf52833. 
 I need to transmit some crucial data between device and phone, such as device settings. 
 But I have no idea of how to make the data transfer safe and hack-proof. 
 Can I implement</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Dec 2022 11:31:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93292/nfc-transmits-crucial-data" /><item><title>RE: NFC transmits crucial data</title><link>https://devzone.nordicsemi.com/thread/398949?ContentTypeID=1</link><pubDate>Mon, 05 Dec 2022 11:31:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5638788a-7cb9-4f4b-b27a-d6f02113a332</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Daniel,&lt;/p&gt;
&lt;p&gt;We do not have any documentation on how to use Symmetric or Asymmetric Encryption manually.&lt;br /&gt;I suggest that you learn how to use Asymmetric Encryption (Also known as public key encryption) and symmetric encryption first.&lt;/p&gt;
&lt;p&gt;Then when you have a plan for what to do, have a look at our &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.2/nrf/samples/samples_crypto.html"&gt;Crypto samples&lt;/a&gt;, which show how you in practice can implement different encryption schemes.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC transmits crucial data</title><link>https://devzone.nordicsemi.com/thread/398895?ContentTypeID=1</link><pubDate>Mon, 05 Dec 2022 00:44:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8ad0104-4952-4cb6-9151-5070231fca69</guid><dc:creator>Sealedfire</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Sigurd,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you so much for your reply, which helps me a lot.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Sorry for my late reply.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;One further question: are there more reference code for&amp;nbsp;&lt;strong&gt;Symmetric Encryption&lt;/strong&gt;&amp;nbsp;and&amp;nbsp;&lt;strong&gt;Asymmetric Encryption?&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Daniel Duan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC transmits crucial data</title><link>https://devzone.nordicsemi.com/thread/392769?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2022 08:59:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68c8a28c-4cf8-40ec-83ac-3afbe98a18a5</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Daniel,&lt;/p&gt;
&lt;p&gt;Data is in the end just a stream of 0s and 1s.&lt;/p&gt;
&lt;p&gt;You can send custom data using NFC, for example as shown in our &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nfc/record_text/README.html"&gt;NCF Record Text sample&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The NFC does not care about what this data is.&lt;br /&gt;Therefore you can transmit an encrypted package.&lt;/p&gt;
&lt;p&gt;Our devices support multiple different algorithms for decryption, that you can use for decrypting the package.&lt;br /&gt;It would look something like this, right?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/encrypted_5F00_send.png" /&gt;&lt;/p&gt;
&lt;p&gt;The first thing you need to decide is:&lt;/p&gt;
&lt;p&gt;Do you want to use &lt;strong&gt;Symmetric Encryption&lt;/strong&gt; or &lt;strong&gt;Asymmetric Encryption&lt;/strong&gt;?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>