Securing local files, it’s a problem solved by a variaty of aps. Though each app are falling into the falacy of providing their own way to encrypt and package the outputed file. Now imagine the app developer deciding to discontinue the development and support of the app, or even worse a known vulnerability of the app goes public (or worse, it never goes public). Then you data are as unprotective as they were in their raw form. Why shouldn’t be an eay way to make use of a trusted way? I guess the first solution that pops to our mind is openssl, right? So why not using just openssl to do the heavy ligting?
The above command should generate back, whatever was passed as input.
Piping to openssl seems like a super skill that is freely available. Hacking with it can make your saturday evening more fun than spending it on a sundbed near a tropical beach. Some ideas to get you into the rabbit hole;