Convert BASE64 to string

29 views
Skip to first unread message

Hans Mannaerts

unread,
Jan 10, 2023, 11:05:30 AM1/10/23
to Fiddler
Hi I want to convert a base64 value to string with fiddlerscript

I tried the following:

var strMSG: String;
strMSG=VGVzdE1lc3NhZ2U=
var strBinMSG;
strBinMSG =  Convert.FromBase64String(strMSG);
==> this gives me a result as binary so then i did:
 var strDecMSG;
  strDecMSG=BitConverter.ToString(strBinMSG);

But that still does not give me the correct result. 

Anybody here to help? :)

Kind regards,
Hans Mannaerts
Reply all
Reply to author
Forward
0 new messages