For small one-off encryption use cases (i.e. encrypt a single file) I use age: https://github.com/filosottile/age
Especially convenient when you need to transmit the file over some untrusted medium like email, or if you just want to dump it in some cloud storage service and not worry about potential snooping.