I tried a few things but it does not seem to be possible. First of all, instead of using
swapfile="/swap"
in /etc/rc.conf as is suggested by the handbook, I added
md none swap sw,file=/swap 0 0
to /etc/fstab. This worked. Second, I tried to enable encryption by appending .eli to md (as you...