PasswordLab 1.2.0
dotnet tool install --global PasswordLab --version 1.2.0
dotnet new tool-manifest
dotnet tool install --local PasswordLab --version 1.2.0
#tool dotnet:?package=PasswordLab&version=1.2.0
nuke :add-package PasswordLab --version 1.2.0
PasswordLab
PasswordLab is a command-line tool for encrypting and decrypting files using AES encryption. It provides a simple interface to secure your files with a password.
Table of Contents
Installation
Installing
- Install via nuget.org
dotnet tool install --global PasswordLab --version "1.2.0"
- Download standalone installer from GitHub Releases.
Usage
CLI Commands
| Command | Description | Example |
|---|---|---|
encrypt |
Encrypt a file, folder, or multiple components | passwordlab encrypt "file-path" -o "output-path (optional)" -n "encrypted-file-name" --password "password" |
decrypt |
Decrypt a file, folder, or multiple components | passwordlab decrypt "file-path" -o "output-path (optional)" --password "password" |
help |
Display help information for the commands | passwordlab --help |
version |
Display version information | passwordlab --version |
Encryption
Encrypt a File
To encrypt a file, use the command encrypt with the file path. Use the -n, --name to specify the output file name, and --password to specify the password.
passwordlab encrypt "C://file-path-to-encrypt" -n "encrypted-file-name" --password "password"
This will save a .gz file that is ready for decryption.
Encrypt a File to a Designated Output Path
To encrypt a file to a designated output, use the -o, --output option to specify the output file path. The current active directory is used as the default if not specified.
passwordlab encrypt "C://file-path-to-encrypt" -n "encrypted-file-name" -o "C://output-file-path" --password "password"
Encrypt a Folder
To encrypt a folder, just copy the path of the directory.
passwordlab encrypt "C://folder-path-to-encrypt" -n "encrypted-file-name" --password "password"
Remember that empty folder will not be included in encryption.
Encrypt Multiple Components
To encrypt multiple files and folders, specify each path using the -f option.
passwordlab encrypt "C://folder-path-1" "C://file-path-2" "C://folder-path-3" -n "encrypted-file-name" --password "password"
Decryption
Decrypt a Encrypted File
To decrypt a file, use the command decrypt with the file path including the options -o to specify the output path, and --password to specify the password. -o is optional and still use the current active directory for extraction of encrypted files.
passwordlab decrypt -f "C://file-path-to-decrypt" -o "C://output-file-path" --password "password"
License
This project is licensed under the MIT License - see the LICENSE file for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.