powershell

Bash v Powershell : Base64

My brothers and sister’s in code: Software quality is hard to define. But I think we can all agree that the bash version of base64 encoding

echo "Encode this string" | base64

is cleaner, easier to read, and easier to remember than the Powershell base64 encoding

[System.Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes("Encode this string"))