# AES encryption demo and secure TCPClient usage

**URL:** <https://community.particle.io/t/aes-encryption-demo-and-secure-tcpclient-usage/6092>\
**Category:** Firmware\
**Created:** [July 31, 2014, 1:40am UTC](https://community.particle.io/t/aes-encryption-demo-and-secure-tcpclient-usage/6092 "2014-07-31T01:40:53Z")\
**Posts on this page:** 1\
**Showing post:** 27

<div class="post-metadata">

**Author:** ![solarplug](https://avatars.discourse-cdn.com/v4/letter/s/9e8a1a/32.png) [@solarplug](https://community.particle.io/u/solarplug)\
**Post date:** [August 4, 2015, 2:17pm UTC](https://community.particle.io/t/aes-encryption-demo-and-secure-tcpclient-usage/6092/27 "2015-08-04T14:17:24Z")

</div>

Temporary solution:

> **[Link error trying to use AES](http://community.particle.io/t/link-error-trying-to-use-aes/13764/7?u=solarplug)**
>
> Hi Guys, Just FYI, I was able to work around this (for now) by simply including the following source file in my project (in the web-IDE): https://github.com/spark/firmware/blob/latest/communication/lib/tropicssl/library/aes.c That was the only...

NOTE: You still have to add the following items to the top of your INO code:

```
#include "application.h"
#include "spark_protocol.h"
#include "tropicssl/rsa.h"
#include "tropicssl/aes.h"
```

---

_[View the full topic](https://community.particle.io/t/aes-encryption-demo-and-secure-tcpclient-usage/6092)._
