Hacker News new | ask | show | jobs
by Tepix 2344 days ago
I like it! Works well. Do you see a way to reduce the required code?
1 comments

I just glanced through it again, and it seems to me that aside from styling, every section of code fulfills an important purpose. But it could definitely benefit from being more broken out into components and library-like, so that the only code surfaced in index.html is the UI code.
Looks like your code predates the Web Crypto API, so switching over to that should get rid of more than half the code. Right?