H
Heron
Hi,
Could someone help me out..?
I'm trying to encrypt a serialized object but i get an error "Invalid
character in a Base-64 string." :/
string tmp = rn.Encrypt(Serializer.Serialize(user))
public string Encrypt(string str)
{
byte[] tmp = Convert.FromBase64String(str); <--- error here
return this.Encrypt(tmp);
}
Could someone help me out..?
I'm trying to encrypt a serialized object but i get an error "Invalid
character in a Base-64 string." :/
string tmp = rn.Encrypt(Serializer.Serialize(user))
public string Encrypt(string str)
{
byte[] tmp = Convert.FromBase64String(str); <--- error here
return this.Encrypt(tmp);
}