A couple of years ago there was an issue where openswap was not configured correct with btrfs.
Assuming you are a proficient linux admin - using zfs pool encrypted - Ignoring the btrfs - the concept is valid for any encrypted swap - just modify accordingly.
and a linked topic