Create ConvertBase64.ps1

updated folder, misspelled injection
pull/468/head
Nate 2024-08-04 10:37:16 -05:00 committed by GitHub
parent cea9eb46ef
commit 072a5dbc8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,3 @@
$text = Read-Host -prompt "What would you like to encode"
$base64Text = [Convert]::ToBase64String([Text.Encoding]::Unicode.GetBytes($text))
echo $base64Text