GitHunt
WA

wazzamatazz/dpapi-encrypt

Simple Windows DPAPI encryption/decryption utility

dpapi-encrypt

A simple utility for encrypting and decrypting values using the Windows DPAPI. Uses System.CommandLine for command-line parsing.

Usage:

dpapi-encrypt encrypt --value <VALUE> --scope <CurrentUser|LocalMachine> [--entropy <ENTROPY>]
dpapi-encrypt decrypt --value <VALUE> [--entropy <ENTROPY>]

The --entropy parameter allows you to specify a base64-encoded string containing additional entropy bytes to pass to the System.Security.Cryptography.ProtectedData class.

Languages

C#100.0%

Contributors

MIT License
Created May 24, 2019
Updated February 1, 2025
wazzamatazz/dpapi-encrypt | GitHunt