mdbook-pagecrypt

Crates.iomdbook-pagecrypt
lib.rsmdbook-pagecrypt
version0.1.1
created_at2024-06-27 08:47:49.01723+00
updated_at2025-02-15 08:56:07.162307+00
descriptionEncrypt your mdbook-built site with password protection.
homepage
repositoryhttps://github.com/Wybxc/mdbook-pagecrypt
max_upload_size
id1285220
size120,537
Jiayi Zhuang (Wybxc)

documentation

README

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.

Commit count: 9

cargo fmt