Implementing DES or AES Encryption with DateTime Synchronization on Uno

Hi, we are trying to implement AES or DES encryption using an Arduino Uno.

We have a keypad module attached that will be used to input integers. A String should be generated based on the entered data and encrypted using AES or DES.

We have tried several online libraries with no success due to the constraints put on the "plain text" size.
An example pseudo-code for the above:

string key = "This is a key";
string plain = "This is the keypad input" + keypadInput + "and some other random stuff"; <- This should have any size.

var cipher = AES.encode(plain, key);
print(cipher);

var decoded = AES.decode(cipher, key);
print(decoded);

We have no experience with the byte[] objects and whatnot. Could someone please point to the right direction on how to do this?

Thanks!

We have tried several online libraries with no success due to the constraints put on the "plain text" size.

That implies that you have some real code. The code does something. You expect it to do something. Apparently, what it does is not what you want. However, that is ALL that we know.