Crypto Class

basic Encrption/decryption functionaility

Definition

Namespace: KLib.Crypto
Assembly: KLib.Utilities (in KLib.Utilities.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public class Crypto
Inheritance
Object    Crypto

Constructors

CryptoInitializes a new instance of the Crypto class
Crypto(CryptoCryptoTypes)Initializes a new instance of the Crypto class

Properties

CryptoType type of encryption / decryption used
Password Passsword Key Property. The password key used when encrypting / decrypting

Methods

Decrypt(String) decrypts a string
Decrypt(String, CryptoCryptoTypes) decrypts a string acc. to the decryption type
Decrypt(String, String) decrypts a string using a user defined password key
Decrypt(String, String, CryptoCryptoTypes) decrypts a string acc. to decryption type and user defined password key
Encrypt(String) Encrypt a string
Encrypt(String, CryptoCryptoTypes) Encrypt string acc. to cryptoType
Encrypt(String, String) Encrypt string with user defined password
Encrypt(String, String, CryptoCryptoTypes) Encrypt string acc. to cryptoType and with user defined password
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also