Skip to content

Base64String 1.2.0

Install from the command line:
Learn more about NuGet packages
$ dotnet add package Base64String --version 1.2.0

About this version

Base64String - Convert text from/to Base 64 String

PowerShell 3 PowerShell 4, 5 & Core on Windows build Linux & MacOS build latest version downloads

https://www.powershellgallery.com/packages/Base64String/

ConsoleDemo

⚑ Aliases

Cmdlet Alias
ConvertTo-Base64String encode64
ConvertFrom-Base64String decode64

πŸ“˜ Commands

ConvertFrom-Base64String
  [-EncodedValue] <string>
  [-UrlSafe] <bool>  (default- $false) - Set to produce url safe string


ConvertTo-Base64String
  [-Value] <string>

πŸ“ƒ Usage

Convert text to Base64 String:

/> ConvertTo-Base64String -Value "text" -UrlSafe $true
/> echo "text" | encode64
/> echo "text" | encode64 -UrlSafe $true

Convert text from Base 64 String:

/> ConvertFrom-Base64String "dABlAHgAdAA="
/> echo "dABlAHgAdAA" | decode64

πŸ”¨ Instalation

Powershell Gallery:

PowerShellGet Installation :

Install-Module -Name Base64String

Direct download instalation:

iex ('$module="Shared-Functions/Base64String"'+(new-object net.webclient).DownloadString('https://raw.githubusercontent.com/stadub/PowershellScripts/master/install.ps1'))

Module import:

Import-Module Base64String

[v1.2.0] Oct 8, 2019

  • fix decidong ''1'' ending text

[v1.1.0] Sept 17, 2019

  • Added support url safe Base64 strings
ConvertTo-Base64String -Value $text -UrlSafe $true

[v1.0.0] Sept 12, 2019

  • Created functions
ConvertFrom-Base64String
  [-EncodedValue] <string>

ConvertTo-Base64String
  [-Value] <string>
  • Created unit tests

πŸ“¬ Suggestions and feedback

If you have any idea or suggestion - please add a github issue.

Details


Assets

  • base64string.1.2.0.nupkg

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all