Page 1 of 1

AES encrypt text not files

Posted: Fri Jan 13, 2023 12:55 pm
by Overshoot4141
Hi!
I've been using aescrypt quite a lot for file encryption.
Now I'm looking for a tool to encrypt string/text (randomized if possible) using AES-128 in GCM mode.
Does anyone know of any tool that can do this?
Thanks!
BR.

Re: AES encrypt text not files

Posted: Fri Jan 13, 2023 2:20 pm
by paulej
Some time ago, people asked me for C code one could use to encrypt text strings in a way that is compatible with AES Crypt. See "C Routines for String Encryption" on the download page here:

https://www.aescrypt.com/download/#c

AES Crypt uses 256-bit encryption and HMAC-SHA-256 for message authentication rather than 128-bit encryption and GCM.