I'm using .NET's RijndaelManaged class to encrypt and decrypt strings. 3 different strings are first encrypted and then concatenated, separated by a pipe (|), and then this string is saved back to the database.
When I need to decrypt the string, I first separate the three encrypted strings and then decrypt them.
I'm concatenating the individual encrypted strings as follows:
StringBuilder sb = new StringBuilder();
sb.Append(Crypto.Encrypt("string1")).Append("|")
.Append(Crypto.Encrypt("string2")).Append("|")
Crypto.Encrypt("string3"));
My question is: When encrypting a string using RijndaelManaged, can the encrypted string include the pipe sign?