#mdbook #password #site #protection #encryption

bin+lib mdbook-pagecrypt

Encrypt your mdbook-built site with password protection

2 releases

0.1.1 Feb 15, 2025
0.1.0 Jun 27, 2024

#992 in Cryptography

Download history 20/week @ 2025-01-15 43/week @ 2025-01-22 2/week @ 2025-01-29 118/week @ 2025-02-12 17/week @ 2025-02-19 8/week @ 2025-02-26 3/week @ 2025-03-05 15/week @ 2025-03-19 18/week @ 2025-04-02 104/week @ 2025-04-09

137 downloads per month

MPL-2.0 license

34KB
255 lines

mdbook-pagecrypt

docs.rs Crates.io Version GitHub Actions Workflow Status

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.

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

~14–27MB
~413K SLoC