# Encrypt a String

**URL:** <https://community.particle.io/t/encrypt-a-string/41858>\
**Category:** General\
**Created:** [May 16, 2018, 12:35am UTC](https://community.particle.io/t/encrypt-a-string/41858 "2018-05-16T00:35:11Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![tehdoctor](https://avatars.discourse-cdn.com/v4/letter/t/c0e974/32.png) [@tehdoctor](https://community.particle.io/u/tehdoctor)\
**Post date:** [May 17, 2018, 10:24am UTC](https://community.particle.io/t/encrypt-a-string/41858/4 "2018-05-17T10:24:25Z")

</div>

Yeah I assume its due to new versions of include statements. I remember a few talking about AES-128 such as [this post.](https://community.particle.io/t/aes-encryption-demo-and-secure-tcpclient-usage/6092)  
I also tried many of the forks but couldnt seem to find a working one.

Preferably I would like something with 256 bit encryption.  
I am not sure how many libraries there are in the particle build list, but I tried searching with a few terms, the only one I found was titled: Crypto Suite with 10 or so users.  
Using their only example compiles with error: no file “sha256.h” (A reference to one of their includes).

If you know of any working hashing libraries I would be more than grateful. Ill keep looking, and try to find an Arduino library with 256 bit encryption in the meantime and maybe even upload it if it works.

And @BulldogLowell yeah particle takes care of a lot of it. The entire backbone is encrypted with AES 128 iirc. So users don’t have to worry about much of the load, but for interfacing with other objects that don’t contain this built-in encryption. (ie RFID cards) its up to us to implement it. Only reason i say so few is because of the lack of libraries I saw (maybe I just suck at searching) whilst there are about 10k people using both the PN532 and MFRC522 libraries for RFID. I mean I understand that a lot of people use these boards for more fun maker projects, but still; I have yet to find a working library for a hashing algo. ¯\_(ツ)\_/¯  
I dunno I may have misinterpreted your comment, but ill go back to researching for now.

Thanks again for any and all help.

---

_[View the full topic](https://community.particle.io/t/encrypt-a-string/41858)._
