Encrypt any file or folder with one small, dependency-free binary. AES-256-GCM. No runtime to install — just download and run.
Windows (PowerShell)
irm https://raw.githubusercontent.com/Xeze-org/enc/main/install.ps1 | iexLinux / macOS
curl -fsSL https://raw.githubusercontent.com/Xeze-org/enc/main/install.sh | bashDocker (Alpine) — the Linux binary is static (musl), so it runs with no glibc
RUN apk add --no-cache curl \
&& curl -fsSL https://raw.githubusercontent.com/Xeze-org/enc/main/install.sh | sh
ENV PATH="/root/.local/bin:${PATH}"enc keygen # make a key — SAVE the printed value
export ENC_KEY="<key>" # (PowerShell: $env:ENC_KEY = "<key>")
enc diary.txt # encrypt -> diary.txt.enc
enc diary.txt.enc # decrypt -> diary.txt
enc Photos # encrypt a whole folderenc <path> figures out the direction from the file's content: plaintext →
encrypt, an .enc file → decrypt (it prompts for the key/password).
- Usage & commands » — all modes, passwords, scripting, Docker, troubleshooting
- File format » — the on-disk
.enclayout and versions
Apache-2.0 © Xeze