Hibernate with swapfile on encrypted partition?

Found a workable solution here: