Click or drag to resize

Crypto Class

Simple encryption. Used to encrypt security relevant entries in configuration files. This is not "safe", but better than storing e.g. network credentials as plain text.
Inheritance Hierarchy
SystemObject
  MailMergeLibCrypto

Namespace:  MailMergeLib
Assembly:  MailMergeLib (in MailMergeLib.dll) Version: 5.6.1.0
Syntax
public static class Crypto

The Crypto type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberCryptoKey
The crypto key used to calculate an MD5 hash. You should change the default value before using the Crypto class.
Public propertyStatic memberEncoding
Encoding used to encrypt or decrypt. Defaults to Encoding.UTF8
Public propertyStatic memberIV
The Initialization Vector for the DES encryption routine. You should change the default value, but keep the 8 bytes.
Top
Methods
  NameDescription
Public methodStatic memberDecrypt
Decrypts the string parameter
Public methodStatic memberEncrypt
Encrypts the string parameter.
Top
See Also