Encrypt your mdbook-built site with password protection.
Inspired by pagecrypt.
Documentation can be found here. The documentation site is also a live demo of the library; the password is pagecrypt.
cargo install mdbook-pagecryptAdd the following to your book.toml:
[output.pagecrypt]
password = "secret"
rounds = 600_000 # optional, rounds in password hashingAnd then run mdbook build to encrypt the site.