Answered by:
Encryption and Decryption of messages in C#

Question
-
Hi All,
I have web service layer which would receive the encrypted and signed message, the web service layers need to decrypt and validate the signature before passing it to the internal application for business processing ...
please let me know any code samples, links for encrypting and decrypting the messages ... thanks
Answers
-
http://www.codeproject.com/KB/security/SimpleEncryption.aspx
http://docs.google.com/gview?a=v&q=cache:sJSwtCuWVvQJ:www.entrust.com/resources/pdf/cryptointro.pdf+Entrust%27s+Introduction+to+Cryptography+and+Digital+Signatures&hl=en&gl=us&pid=bl&srcid=ADGEESjy1r1si188N-YivQ-uCI5LHxZyOSLtDewY7tOgI-4h5s15EtbjvM3NZa9qJrF5jWtJoSuY2oa5CyIDk7MkTMrn67yGGAnMaChlbEqIaTkPIeM84-_lHW8efEryPKwoQbpe0mNg&sig=AFQjCNEfZ2E0eS8M3XmqytFwbj8WxvlqwQ
http://geraldgibson.net/dnn/Home/2WayEncryptedCommunication/tabid/150/Default.aspx- Proposed as answer by JediJohn82 Thursday, November 19, 2009 4:53 PM
- Marked as answer by liurong luo Tuesday, November 24, 2009 10:45 AM
All replies
-
-
Are you planning on using symmetric or asymmetric keys? .NET provides several cryptographic services http://msdn.microsoft.com/en-us/library/system.security.cryptography.aspx.
-
-
-
http://www.codeproject.com/KB/security/SimpleEncryption.aspx
http://docs.google.com/gview?a=v&q=cache:sJSwtCuWVvQJ:www.entrust.com/resources/pdf/cryptointro.pdf+Entrust%27s+Introduction+to+Cryptography+and+Digital+Signatures&hl=en&gl=us&pid=bl&srcid=ADGEESjy1r1si188N-YivQ-uCI5LHxZyOSLtDewY7tOgI-4h5s15EtbjvM3NZa9qJrF5jWtJoSuY2oa5CyIDk7MkTMrn67yGGAnMaChlbEqIaTkPIeM84-_lHW8efEryPKwoQbpe0mNg&sig=AFQjCNEfZ2E0eS8M3XmqytFwbj8WxvlqwQ
http://geraldgibson.net/dnn/Home/2WayEncryptedCommunication/tabid/150/Default.aspx- Proposed as answer by JediJohn82 Thursday, November 19, 2009 4:53 PM
- Marked as answer by liurong luo Tuesday, November 24, 2009 10:45 AM