Created
June 16, 2023 13:57
-
-
Save andreasbotsikas/79623d5082b3034e5bbde056f1e8a434 to your computer and use it in GitHub Desktop.
Base64 encoding text
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$encodedText = [System.Convert]::ToBase64String([System.Text.Encoding]::Unicode.GetBytes("<MESSAGE>")) | |
[System.Text.Encoding]::Unicode.GetString([Convert]::FromBase64String($encodedText)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment