<div dir="ltr"><div>Hello all,</div><div>I'm currently working on a userspace block device driver. I want to add encryption on it, <br></div><div>and that's how I came across GPGME. <br></div><div><br></div><div>My question is: is there a way to encrypt a plaintext and get a ciphertext of **exactly** the <br></div><div>same size? Is there any way to have FPE (Format Preserving Encryption) via GPGME?</div><div><br></div><div><br></div><div>From my research so far, it doesn't seem to exist one. Even symmetric algorithms are using <br></div><div>metadata on the ciphertext so the size is always bigger than the corresponding plaintext.</div><div><br></div><div>All suggestions are welcome!</div><div><br></div><div>Thanks.</div></div>