After a week of back-and-forth, I finally figured out everything I needed for encrypting/decrypting files larger than 10GB locally in the browser with TypeScript.
Now I'm far more familiar with Web Workers, Web Crypto, and the File API than I ever thought I'd be. 🫠