ContributionsMost RecentMost LikesSolutionsRe: Base64 encoded string Thanks, But i need the script in this format for decoding too var string='test'; function main() { getEncodedValue(string); } function getEncodedValue(string) { var textBytes = dotNET.System_Text.Encoding.UTF8.GetBytes_2(string); var encodedText = dotNET.System.Convert.ToBase64String(textBytes); // return encodedText; Log.Message(encodedText); } Re: Base64 encoded string Hi, Can i get the same equivalent script for decoding a string.