How to encode a text using Base64 and powershell

Publié le: 05 décembre 2020
sur la chaîne: Doscaras
525
6

En este video se muestra el manejo básico a tratar texto con base64 en conjunto con powershell.

Codificar :
$text = "Soy un mensaje en base 64 del canal codesblue"

$encoder = [System.Convert]::ToBase64String([Text.Encoding]::Unicode.GetBytes($text))

Write-Output $encoder

Descodificar:
$text = "UwBvAHkAIAB1AG4AIABtAGUAbgBzAGEAagBlACAAZQBuACAAYgBhAHMAZQAgADYANAAgAGQAZQBsACAAYwBhAG4AYQBsACAAYwBvAGQAZQBzAGIAbAB1AGUA"

$descoder = [System.Text.Encoding]::Unicode.GetString([System.Convert]::FromBase64String($text))

Write-Output $descoder















































powershell,encode base64,base64 encode,how to encode powershell base64,how do i encode and decode a base64 string,base64 decode,base64,encode and decode,how to encode commands powershell,encode,powershell base64 encode,how to do base64 encoding,powershell base64 encode file,decode base64,how to use java 8 encode decode an image to base64,base64 encoding,base64 encode text file,encode powershell,encode powershell commands,how to decode the base64 encrypted code,encode and decode strings


Sur cette page du site, vous pouvez voir la vidéo en ligne How to encode a text using Base64 and powershell durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Doscaras 05 décembre 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 525 fois et il a aimé 6 téléspectateurs. Bon visionnage!