Originally posted by: j.gann
efs provides file-level encryption (not block-device). it cannot be used to encrypt swap devices.
your requirement may lead to interesting and creative solutions though.
I'd focus on the idea of not having swap devices at all or have their content transient instead of permanent.
regards
j.gann