Skip to content

Comment on Password protect a static HTML page, decrypted in-browser in JavaScript

Comments

This is what I'm looking for: a way to put something in public (I'm using Vercel) that "only" me can access (anybody who can decrypt it doesn't need the content that I encrypt).

So you're looking for an authentication and authorization system.

That's incorrect: I'm looking for a tool that takes a html page, encrypts the content, generates another html page which has some js to decrypt what was encrypted before and puts the decrypted content back in the body of the html page.

Just encrypt it with Age?

Can age work as this tool does?

Yep!

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.