How to encode a string

string ss="pervej";

string encode=Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(ss));

Response.Write(encode);