It looks like you're new here. Sign in or register to get started.
var TempBlob: Record TempBlob; begin TempBlob.WriteAsText(StrSubstNo('%1:%2', UserName, Password), TextEncoding::UTF8); exit(StrSubstNo('Basic %1', TempBlob.ToBase64String())); end;
Answers
This code convert the text to Base64.
I need to convert the Hex to Base64.
Thanks