D
daz_oldham
Hi
I am using the RijndaelManaged encryption method in C#, but when I
decode my string, the byte array is returning several ASCII null values
at the end of my string, which is represented by "\0".
What I would like to know, is how can I get rid of these null values as
obviously I don't want or need them.
Many thanks
Darren
// Code snippet
return Encoding.ASCII.GetString(bytTmp);
I am using the RijndaelManaged encryption method in C#, but when I
decode my string, the byte array is returning several ASCII null values
at the end of my string, which is represented by "\0".
What I would like to know, is how can I get rid of these null values as
obviously I don't want or need them.
Many thanks
Darren
// Code snippet
return Encoding.ASCII.GetString(bytTmp);