Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

password encryptin powershell

$password = Get-Content C:Passwordspassword.txt | ConvertTo-SecureString -Key (Get-Content C:Passwordsaes.key)
$credential = New-Object System.Management.Automation.PsCredential("Luke",$password)
Comment

password encryptin powershell

(get-credential).Password | ConvertFrom-SecureString -key (get-content C:passwordsaes.key) | set-content "C:Passwordspassword.txt"
Comment

password encryptin powershell

$Key = New-Object Byte[] 32
[Security.Cryptography.RNGCryptoServiceProvider]::Create().GetBytes($Key)
$Key | out-file C:passwordsaes.key
Comment

PREVIOUS NEXT
Code Example
Shell :: change webcam whitebalance ubuntu 
Shell :: xrandr non cambia la luminosità 
Shell :: vbs on linux 
Shell :: how to resolve failing tests after database migration 
Shell :: hp probook 6560b hackintosh 
Shell :: asp.net core linux systemd 
Shell :: declare dataset in powershell 
Shell :: dll create github 
Shell :: linux vga wake up screen 
Shell :: bash map lenght 
Shell :: @capacitor-community/fcm 
Shell :: cmd install mrjob 
Shell :: sns3 github 
Shell :: bcrypt fails during docker compose 
Shell :: bat auskommentieren 
Shell :: wtfutil on ubuntu 
Shell :: git remove last merge commit 
Shell :: fslmaths invert masking 
Shell :: rsync block bandwidth 
Shell :: Jekyll serve fails on Ruby 3.0 
Shell :: How to open a file from terminal in libre writer 
Shell :: view in linux 
Shell :: add gpg key to jenkins repository for debian 
Shell :: how to start xamp cpanel in ubuntu 
Shell :: clear github keychain passowrd from terminal 
Shell :: yes/no dialog shell 
Shell :: docker image layer storage windows 
Shell :: how to set path openssl@1.1 on mac zsh 
Shell :: how to ushow to add hadolint as a pre-commit hook 
Shell :: install dot-prop 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =