What sorts of projects OP? Can you give details?
I tend to write scripts for things that through off my flow state in the past -- generating a secure passphrase, changing my MAC address, running a series of perfectly legal nmap scans, spitting out the list of wordpress usernames on a blog of dubious origins, quickly decoding simple ciphers like ROT13 (or rot... whatever) and a few others I won't list out in public.
The "project" is never the code, in an app sense, but more... speeding up OSINT, for lack of a better phrasing. Getting things to a point where if they haven't patched, it's more of a moral decision: do I want to go into your computer?
Do I want to everything but cross that line?
And if so, how do I walk right up to it as quickly as possible without getting... throttled.
So for me, it's about what I want to know, and what the barriers other than the law are to getting it.
Your methods may vary. (No pun intended.)
So uh... IMHO, keep a dot ODS spreadsheet or text document, with a strong password or passphrase, and journal / data keep in there.
Libreoffice uses strong encryption, so on computers like MacOS it's easier to install and use than Veracrypt, which needs FUSE. You can do fun hacks like make the password a hash of a few words or a serial number, designed to be forgotten if lost or ununused. Fail safe, fail stupid is my motton :-)