Age is a simple, modern and secure encryption tool. This repository contains a demo of how to use it.
Install age command line tool. See the official installation instructions
$ age-keygen -o key.txt
Public key: your_age_public_key
$ echo "Hello World" > file.txt
$ age -r your_age_public_key -o file.txt.age file.txt