470,815 Members | 1,154 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,815 developers. It's quick & easy.

Encrpyt Simple String

In my app I have a MessageBox like the following:

this.MessageBox.Show("Hello");

Question: How do I encrypt the String "Hello" in C# (2.0), so that the user
can't "directly" see the String, for example while using Lutz Roeders .NET
Reflector?
What about using SecureString?
Apr 28 '06 #1
2 990
If you encrypt the string ... they will still have the code to decrypt the
string after using reflector no, not much of a jump for them to decrypt the
string no?

Cheers,

Greg
"DHarry" <DH****@discussions.microsoft.com> wrote in message
news:D3**********************************@microsof t.com...
In my app I have a MessageBox like the following:

this.MessageBox.Show("Hello");

Question: How do I encrypt the String "Hello" in C# (2.0), so that the
user
can't "directly" see the String, for example while using Lutz Roeders .NET
Reflector?
What about using SecureString?

Apr 28 '06 #2
DHarry <DH****@discussions.microsoft.com> wrote:
What about using SecureString?


SecureString is for in-memory secure strings, to ensure they don't get
written to disk in the page file, for example.

-- Barry
Apr 28 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

19 posts views Thread by ljb | last post: by
13 posts views Thread by na1paj | last post: by
51 posts views Thread by Alan | last post: by
6 posts views Thread by KevinD | last post: by
reply views Thread by Tal Sharfi | last post: by
30 posts views Thread by galiorenye | last post: by
8 posts views Thread by Girish | last post: by
7 posts views Thread by lithiumcat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.