Since things didn't work out between me and mbedtls, here are the basic encryption algorithms.

Revision:
0:65a36a7b25d0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/xor.h	Sat Nov 10 20:11:01 2018 +0000
@@ -0,0 +1,11 @@
+#include <iostream>
+
+string encryptDecrypt(string toEncrypt) {
+    char key[3] = {'K', 'C', 'Q'}; 
+    string output = toEncrypt;
+
+    for (int i = 0; i < toEncrypt.size(); i++)
+        output[i] = toEncrypt[i] ^ key[i % (sizeof(key) / sizeof(char))];
+
+    return output;
+}
\ No newline at end of file