Infosys Microsoft Alliance and Solutions blog

« Role of Claims based Authentication in Federated Security | Main | Debugging into .net source code »

Role of Claims based Authentication in Federated Security -- 2

In Continuation of my earlier blog, In this blog we will see some of the basics of Cryptography in this entry. This inlcudes Symmetric and Asymmetric Encryption, Digital Signatures

Symmetric Encryption: As the diagram shows the same key is used for encrypting and decrypting the message

 Sym.JPG

Asymmetric Encryption:As the diagram shows, here 2 keys are used for encrypting and decrypting. Either of the 2 can be used for encrypting and decrypting and the purpose drives which is used when. When the criteria is confidentiality like in the case of https communication, public key is used for encryption and private key is used for decryption. Inc ase where Data Integrity, Non reudiation is the criteria, private key is used for encryption and the public key is used for decryption as in the case of Digital Signatures.  

ASym.JPG

Digital Signature (DS): Before I mention DS, let me define hashing. Hashing is a one way mathematical function which generates a standard size one way hash also called check sum. This is encrypted using the private key of the party to generate a digital signature.

DS.JPG

TrackBack

TrackBack URL for this entry:
http://www.infosysblogs.com/microsoft-mt/mt-tb.fcgi/278

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)