The following string amFuZUBkb2UuY29tOkpATjNEb2UxCg== decodes to [email protected]:J@N3Doe1 (via online decoder).
But when I try to encode the string back ( tobase64) I get a different result. I've tried UT8, ASCII, Unicode. All give different results. I'm using C#.
string str= u + ":" + v;
byte[] rt = System.Text.ASCIIEncoding.ASCII.GetBytes(str.Trim());
string t= Convert.ToBase64String(rt);
Thanks!