Funnily enough, I don’t think there is a really good one. There’s lots that almost do it but not quite. - Evernote: no note linking - Bear: lovely but no web or android version - OneNote: appalling in the way only MS can be - SimpleNotes: too simple - Zoho: too ...urgh - Keep: too Googley - Apple notes: too Appley - Standard Notes: too buggy
I’m clearly a fussy sod. But really, just a nice, oss, local files, ability to encrypt, x-platform apps: surely not too much to ask....?
Every single box is checked by Trilium (https://github.com/zadam/trilium), plus you can self host a server if you want to sync between as many clients as you want, and you can password protect only specific notes if you want to. Only "disadvantage" is that the client is electron; if you can live with that, I think you should check it out. (I'm not affiliated, but I've been using Trilium for a while.)