Re: GPGME question about ciphertext and plaintext sizes

2023-05-10 Thread Dim Xr via Gnupg-users
Thank you Werner. You need to use a low level crypto library > for that (e.g. Libgcrypt) and decide which algorithm, mode and > additional information you use. > OK I'll check it out. Searching on the mailing list responses I came across with Libgcrypt again, but I've read that it is quite low-le

Re: GPGME question about ciphertext and plaintext sizes

2023-05-10 Thread Werner Koch via Gnupg-users
On Tue, 9 May 2023 17:48, Dim Xr said: > same size? Is there any way to have FPE (Format Preserving Encryption) via > GPGME? No. GPGME uses the OpenPGP and S/MIME protocols (gpg and gpgsm) and is not suitable for your task. You need to use a low level crypto library for that (e.g. Libgcrypt) a