i had this idea that a program can edit files in an encrypted environment. WinRaR with higher level of encryption would be the best way to describe it. but i was wonder if the files on a linux HDD or SDD are encrypted.
I do have this idea that you can save encrypted files to a cloud server and pull it out and unencrypted by a light weight program
Sounds like Cryptomator would work for you.