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.
 
Back
Top