I would like to run GnuPG elgamal encryption for at least a few minutes. The only way I can think of is to create a large file to be encrypted. So I created my file like this:
dd if=/dev/zero of=output.dat bs=500M count=1
Then I did:
gpg --passphrase-file passphrase.txt -e output.dat
I get:
du -h output.dat.gpg
500K output.dat.gpg
If I change my file size:
dd if=/dev/zero of=output.dat bs=400M count=1
Then I did:
gpg --passphrase-file passphrase.txt -e output.dat
I get:
du -h output.dat.gpg
400K output.dat.gpg
Notice in both cases, the files shrinks by a factor of 1000. If I create a 4MB file, then it encrypt into 4KB file.
Why does it shrink my file?