Last active
January 6, 2025 10:48
-
-
Save mattbalzan/64ca01b9c422f79fdb4e2ba2839b3db2 to your computer and use it in GitHub Desktop.
URI encoder
This file contains hidden or 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
# --[ Encode URI to base64 ] | |
# --[ Matt Balzan | mattGPT.co.uk ] | |
$url = '<your_URI>' | |
$enc = [System.Text.Encoding]::Unicode.GetBytes($url) | |
$encURL = [Convert]::ToBase64String($enc) | |
$encURL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment