|
|
Browse by Tags
All Tags » Scripting games » DPAPI
-
For Event 7 I did the Following Script, using DPAPI (only decryptable by same user on same Computer ) for Encrypting :
PARAM ($mode)
Switch ($mode) {
'e' {
$ss = ConvertTo-SecureString -string ( [System.IO.File]::ReadAllText(''$(pwd)\alice2.txt'')) -AsPlainText -Force
convertfrom-securestring $ss | out-file ...
|
|
|