Please let me know if there are any existing applications to do this Or point me to resources that help me figure out how to implement this
Thanks
At least ext4 file system has this feature: https://blog.quarkslab.com/a-glimpse-of-ext4-filesystem-level-encryption.html
There is also eCryptfs: https://ostechnix.com/how-to-encrypt-directories-with-ecryptfs-in-linux/
You can always archive directory using tar and encrypt with gpg, but that's not very convenient to use: https://superuser.com/questions/249497/how-to-encrypt-a-file-or-directory-in-linux
tar
gpg
I'm not aware of attempts to integrate any of these with Vifm and haven't tried it myself. Impelementation would depend on the approach taken, but these might be useful: