what are the all possible characters that could appear in an encrypted blob?
in another word, for example, could '&' be a character in an encrypted blob? what about '+'? why?
what are the all possible characters that could appear in an encrypted blob?
in another word, for example, could '&' be a character in an encrypted blob? what about '+'? why?
Which DBMS? Which encryption?
In general, though, encrypted data looks like random data (if it doesn't, it isn't good encryption). That means that every byte in the range 0x00 .. 0xFF will appear approximately equally in the data. So yes, every byte could appear.
Most cipher generates binary ciphertext, which is not text but can contain any character if you display it as text.
You need to encode it to transfer it over any text based protocols. However, URL-encoding is a horrible candidate for this. It can triple the size.
You should use Base64 (preferably the URL-safe version) to encode the ciphertext first.