Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
qnd:data_manipulation [2021/12/15 20:44] – created mguptonqnd:data_manipulation [2023/08/14 18:11] (current) mgupton
Line 1: Line 1:
 ====== Data Manipulation ====== ====== Data Manipulation ======
   * [[qnd:JSON]]   * [[qnd:JSON]]
 +
 +====== Base64 ======
 +=== Powershell to encode/decode base64 ===
 +=== decode ===
 +<code powershell>
 +[System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String((Get-Content data.txt)))
 +</code>
 +=== encode ===
 +<code powershell>
 +[System.Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes((Get-Content data.txt)))
 +</code>
  
  • qnd/data_manipulation.1639601081.txt.gz
  • Last modified: 2021/12/15 20:44
  • by mgupton