Crates.io | mdbook-pagecrypt |
lib.rs | mdbook-pagecrypt |
version | 0.1.0 |
source | src |
created_at | 2024-06-27 08:47:49.01723 |
updated_at | 2024-06-27 08:47:49.01723 |
description | Encrypt your mdbook-built site with password protection. |
homepage | |
repository | https://github.com/Wybxc/mdbook-pagecrypt |
max_upload_size | |
id | 1285220 |
size | 110,462 |
Encrypt your mdbook-built site with password protection.
Inspired by pagecrypt.
cargo install mdbook-pagecrypt
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.