Skip to content

Instantly share code, notes, and snippets.

View moonwitch's full-sized avatar

Kelly Crabbé moonwitch

View GitHub Profile
@moonwitch
moonwitch / base64
Created May 6, 2024 15:44 — forked from iAnatoly/base64
One-liners encoding and decoding Base64 in powershell
[System.Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes("SecretMessage"))
[System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String("U2VjcmV0TWVzc2FnZQ=="))