Empty passphrase → a random 256-bit key is embedded in the hash. With a passphrase → PBKDF2-SHA256 (210,000 iterations) + random 16-byte salt; the key is never put in the URL.
100% client-side Web Crypto. The note is not stored in localStorage. Requires a secure context (HTTPS or localhost).