I understand that we can use wireshark or tshark to decryptm, in offline mode, IPSec packets that are encrypted using ESP. Is it possible to do the reverse using tshark or another userspace (vs. kernel-space) application? In other words, is there any application that can be used to encrypt IP packets (e.g., captured using wireshark), in offline mode, into IPSec packets using ESP protocol?
Thank you!