#encryption #protection

bin+lib mdbook-pagecrypt

Encrypt your mdbook-built site with password protection

1 unstable release

0.1.0 Jun 27, 2024

#814 in Cryptography

43 downloads per month

MPL-2.0 license

31KB
255 lines

mdbook-pagecrypt

Encrypt your mdbook-built site with password protection.

Inspired by pagecrypt.

Installation

cargo install mdbook-pagecrypt

Usage

Add the following to your book.toml:

[output.pagecrypt]
password = "secret"
rounds = 600_000 # optional, rounds in password hashing

And then run mdbook build to encrypt the site.

Dependencies

~13–25MB
~374K SLoC