AES Library Importing


I am trying to encrypt my sensor readings and pass them through the cloud. In Arduino there is some library called as AES, but I can’t find anything on Photon.
I found some demo which says-

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

But when I put that in my application it gives me an error-
…/communication/src/spark_protocol.h:33:27: fatal error: tropicssl/rsa.h: No such file or directory
#include “tropicssl/rsa.h”

What do I do? Is there anything that I need to import? Or anything else?

someone please suggest!

1 Like