You're probably talking about hash, not encryption. If so, just use
String.GetHashCode().
Encryption would generate data with size proportional to original and can be
decrypted back.
With hash you get a fixed size number which can not be restored back to the
original.
You could use OpenNETCF.Security.Cryptography namespace with NETCF V1.
NETCF V2 has native encryption support in System.Security.Cryptography
namespace.
It also has hashing support.
Best regards,
Ilya
This posting is provided "AS IS" with no warranties, and confers no rights.
*** Want to find answers instantly? Here's how... ***
1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).