SHA1CryptoServiceProvider

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I am trying to use SHA1CryptoServiceProvider to encrypt strings. It can
encrypt everything in the string except the "{" char. Does anybody from
Microsoft let me know why its bombing on seeing this char ? What would be an
alternative ?

Thanks!
 
Vish said:
I am trying to use SHA1CryptoServiceProvider to encrypt strings. It can
encrypt everything in the string except the "{" char. Does anybody from
Microsoft let me know why its bombing on seeing this char ? What would be an
alternative ?

Could you post a short but complete program which demonstrates the
problem?

See http://www.pobox.com/~skeet/csharp/complete.html for details of
what I mean by that.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top