Answers for "password encryptin powershell"

0

password encryptin powershell

(get-credential).Password | ConvertFrom-SecureString -key (get-content C:\passwords\aes.key) | set-content "C:\Passwords\password.txt"
Posted by: Guest on September-18-2020
0

password encryptin powershell

$Key = New-Object Byte[] 32
[Security.Cryptography.RNGCryptoServiceProvider]::Create().GetBytes($Key)
$Key | out-file C:\passwords\aes.key
Posted by: Guest on September-18-2020
0

password encryptin powershell

$password = Get-Content C:\Passwords\password.txt | ConvertTo-SecureString -Key (Get-Content C:\Passwords\aes.key)
$credential = New-Object System.Management.Automation.PsCredential("Luke",$password)
Posted by: Guest on September-18-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language