Skip to content

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

Comments

How long should the password be to make this safe from brute force attack?

The FAQ recommends a minimum of 16 chars. Obviously it depends on your threat model.

Especially with 600k PDBKF2 iterations, 16 alphanum chars should be very safe.

There's a (warning: very detailed) issue covering the topic of PBKDF2 iterations and password length over here, if you feel like diving into that rabbit hole: https://github.com/robinmoisson/staticrypt/issues/159

AboutSource Built by g1lg1l

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