Base64 Encoding Instructions

Marnel Catlett
Marnel Catlett

Run the following query in Powershell to generate the 64bit Key


Update the information below and then execute this process in PowerShell.

Base64 Encode the API Public and Private Key

 

$key = '{companyname}+{publickey}'
$Sec = '{privatekey}'
$Text = $key + ":" + $Sec
$Bytes = [System.Text.Encoding]::UTF8.GetBytes($Text)
$EncodedText =[Convert]::ToBase64String($Bytes)
$EncodedText

 

example - cmV2b3RlY5grVnlVUnFTZTJXWDcyVTZXbzpZ2DM1YUdMfzVHbXKNaGFx

 

 

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request