A
assaf
hi all
i am using des symmetric crypto.
i need to encrypt my app packets.
i use XmlSerializer,
to serialize my packets into a memory stream.
i then extract the byte array.
i encrypt this array,
and all works well.
however, when i use a BinaryFormatter,
instead of the XmlSerializer,
the Deserialize fails!
what must i do in order to encrypt while using BinaryFormatter?
assaf
i am using des symmetric crypto.
i need to encrypt my app packets.
i use XmlSerializer,
to serialize my packets into a memory stream.
i then extract the byte array.
i encrypt this array,
and all works well.
however, when i use a BinaryFormatter,
instead of the XmlSerializer,
the Deserialize fails!
what must i do in order to encrypt while using BinaryFormatter?
assaf