Skip to content

Instantly share code, notes, and snippets.

View complex86's full-sized avatar
😎

Complex86 complex86

😎
View GitHub Profile
$placeholder = justblazeit
@complex86
complex86 / AES.ps1
Last active February 9, 2017 11:41
$KeyFile = "AES.key"
$Key = New-Object Byte[] 16 # You can use 16, 24, or 32 for AES
[Security.Cryptography.RNGCryptoServiceProvider]::Create().GetBytes($Key)
$Key | out-file $KeyFile