Re: GPGME question about ciphertext and plaintext sizes
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-level library so you have to be some kind of guru to use it. :-) I'm far from a security expert, that's why I needed a more higher level solution for this. But definitely I'll give it a shot. Do you know if OpenSSL is suitable for this task? Dim. ___ Gnupg-users mailing list Gnupg-users@gnupg.org https://lists.gnupg.org/mailman/listinfo/gnupg-users
GPGME question about ciphertext and plaintext sizes
Hello all, I'm currently working on a userspace block device driver. I want to add encryption on it, and that's how I came across GPGME. My question is: is there a way to encrypt a plaintext and get a ciphertext of **exactly** the same size? Is there any way to have FPE (Format Preserving Encryption) via GPGME? >From my research so far, it doesn't seem to exist one. Even symmetric algorithms are using metadata on the ciphertext so the size is always bigger than the corresponding plaintext. All suggestions are welcome! Thanks. ___ Gnupg-users mailing list Gnupg-users@gnupg.org https://lists.gnupg.org/mailman/listinfo/gnupg-users