Base 64
Psst... You could also do this with:
- Windows:
- Encode:
[convert]::ToBase64String([system.text.encoding]::UTF8.GetBytes((get-clipboard)))- Decode:
[system.text.encoding]::UTF8.GetString([convert]::FromBase64String((Get-Clipboard)))- macOS:
- Encode:
pbpaste | base64- Decode:
pbpaste | base64 -D