Skip to main content

Posts

Showing posts with the label DSA(Encryption)

Encrypting and Decrypting Data in .Net

Namespace: System.Security.Cryptography Encrypt your important information specially when transmitting across network. Encryption Algorithms (Symmetric Algorithms) : These are the algorithm with single key, which produce data in the same length as the original. RijndaclManaged Algorithm: Key Length 128 through 256 with 32 bit increments. Its only managed encryption algorithm implemented in .NET Framework. RC2 : Algorithm to replace DES. Key Length is Variable. DES : Key Length is 56 bits. TripleDES : Key length is 156 bits. It encrypts data three times with DES. All these algorithm classes derive from SymmetricAlgorithm class. Major properties of SymmetricAlgorithm : 1.        BlockSize : Who much data will be encrypted at a given time in bits. 2.        FeedbackSize : It can’t be greater than BlockSize. It is the no. of bits returned after encryption/decryption. 3.  ...