I have checked on these two questions:
How to check if your home folder and swap partition are encrypted using terminal?
Check if partition is encrypted
That say that you should get the output similar to /dev/mapper/cryptswap1: UUID="95f3d64d-6c46-411f-92f7-867e92991fd0" TYPE="swap"
from running sudo blkid | grep swap
to check if the swap is encrypted. However when I run it I get both:
/dev/sda3: UUID="some-id-123" TYPE="swap" PARTUUID="some-id-456"
/dev/mapper/cryptswap1: UUID="some-id-789" TYPE="swap"
When I run sudo cryptsetup status /dev/mapper/cryptswap1
I get the result:
/dev/mapper/cryptswap1 is active and is in use.
type: PLAIN
cipher: aes-xts-plain64
keysize: 256 bits
device: /dev/sda3
offset: 1024 sectors
size: 33213440 sectors
mode: read/write
Is my swap-partition encrypted, if not what should I do to encrypt it?
When I run swapon --show
I get this:
NAME TYPE SIZE USED PRIO
/dev/dm-0 partition 15,9G 0B -1