Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 540 Bytes

README.md

File metadata and controls

10 lines (6 loc) · 540 Bytes

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.