Skip to content

Repository files navigation

PillowLock logo

PillowLock

Layered file protection for desktop.

Protect files into .plock files and restore them later with the right password.

Rust 2021 Slint UI Windows AES-256-GCM Argon2id

English | 한국어 | Contributing | Security


About

PillowLock is a desktop app for protecting and restoring files with a clean Windows UI built in Rust.

It supports password-based protection, an optional extra key file, multiple security profiles, batch queue workflows, and Windows release packaging.

This is my first project written in Rust. I built it because I needed it myself, so some parts of the code may still look rough, messy, or unusual. Please keep that in mind when reading the codebase.

If you find a bug, notice a problem, or want a feature, please open an issue or send a pull request.

Highlights

  • Protect a regular file into a .plock file
  • Restore a .plock file back into a normal file
  • AES-256-GCM authenticated encryption
  • Argon2id-based password key derivation
  • Optional key file support
  • Balanced and Hardened protection profiles
  • Batch queue for multiple files
  • English-first UI with Korean support
  • In-app update support for release builds

Tech Stack

  • Rust 2021
  • Slint
  • AES-GCM
  • Argon2id
  • HKDF / SHA-512
  • Zeroize

Build

cargo build --release

Run in development:

cargo run

Run tests:

cargo test

Windows release binary:

target\release\pillowlock.exe

Disclaimer

  • PillowLock is provided as-is, without any warranty.
  • I make no guarantee that it is free from bugs, data loss, or security issues.
  • You are responsible for verifying results and keeping your own backups before using it on important files.
  • Use it at your own risk.

Notes

  • PillowLock is a practical personal project, not a certified security product.
  • Original files are not deleted automatically.
  • Overwrite is blocked by default.
  • If you use a key file, keep a backup in a separate safe place.
  • Losing the password or required key file can make recovery impossible.

About

Secure local vault for files and folders.

Resources

Contributing

Security policy

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages