# Particle and Data Security

**URL:** <https://community.particle.io/t/particle-and-data-security/35107>\
**Category:** Cloud\
**Created:** [August 6, 2017, 8:10am UTC](https://community.particle.io/t/particle-and-data-security/35107 "2017-08-06T08:10:01Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![UMD](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/umd/32/5850_2.png) [@UMD](https://community.particle.io/u/UMD)\
**Post date:** [August 23, 2017, 12:35pm UTC](https://community.particle.io/t/particle-and-data-security/35107/6 "2017-08-23T12:35:50Z")

</div>

I note this entry for the record:

> [@AES encryption demo and secure TCPClient usage](https://community.particle.io/t/aes-encryption-demo-and-secure-tcpclient-usage/6092?redirected=true):
>
> Here’s a little demo that you can paste into Spark Build that shows how to use the AES-128-CBC encryption already available in the Spark Core firmware. Put that on a Core and watch what it says on Serial. Once every 10 seconds it will create a random encryption key and will print a message plain, then encrypted, then decrypted. The open source [AES implementation](https://github.com/spark/core-communication-lib/blob/master/lib/tropicssl/library/aes.c) is from tropicssl in the core-communication-lib if you’re curious, and typical usage internal to the communication library is thro…

Alas I could not compile the code in the demo...

---

_[View the full topic](https://community.particle.io/t/particle-and-data-security/35107)._
