Tired of loosing your passwords/secrets? Shamir’s Secret Sharing has got your back! Split your secrets into many shards and encrypt those for your friends’ public keys, and voilà! demo
PLEASE DON’T USE THIS FOR ANYTHING SENSITIVE. NEVER ENCRYPT ANYTHING IN THE WEB BROWSER IT CAN NEVER EVER EVER BE SECURE BECAUSE THAT IS NOT WHAT A WEB BROWSER IS FOR AT ALL AND IT WILL NEVER BE NO MATTER WHAT PRETEND EXPERTS SAY.
Correct, because ideally you should never have to do any of those things! Allowing random people from the Internet to run code on your machine is an anti-feature that opens many problems for security (see browser CVEs) as well as avenues for people to ruin your life in many other ways, cryptomining using your own resources against your will, leaving you to wonder why everything on your system is so slow when your browser is open.
However, the good way to run a program is to follow the established chain of trust, usually using your distro’s packagers as middlepersons. Another good way is to introduce another layer of trust with either guix or nix and their packagers. They are both focused on reproducible builds, and have 100% packaging/development in the open. But guix has (at least on paper) much better security. AppImage with PGP signatures is also worth mentioning for some situations.
I didn’t mention Flatpak/Snap, because they’re miles behind (flatpak being less terrible than snap).