Skip to content

Latest commit

 

History

History
12 lines (6 loc) · 182 Bytes

base64.md

File metadata and controls

12 lines (6 loc) · 182 Bytes

Base64

$path = "./certs/obtdz1-root-public.cer"
$file = [System.Text.Encoding]::UTF8.GetBytes((get-content ($path)))
$certText = [Convert]::ToBase64String($file)