C# Class Encryption.EncryptionUtils

Provides a friendly wrapper around the RijndaelSimple class
Show file Open project: reedy/AutoWikiBrowser

Public Methods

Method Description
Decrypt ( string text ) : string

Decrypts a string

Encrypt ( string text ) : string

Encrypts a string

EncryptionUtils ( string initVector, string passPhrase, string salt ) : Microsoft.Win32
RegistryGetValueAndDecrypt ( string keyNameSuffix, object defaultValue ) : string

Method Details

Decrypt() public method

Decrypts a string
public Decrypt ( string text ) : string
text string String to be decrypted
return string

Encrypt() public method

Encrypts a string
public Encrypt ( string text ) : string
text string String to be encrypted
return string

EncryptionUtils() public method

public EncryptionUtils ( string initVector, string passPhrase, string salt ) : Microsoft.Win32
initVector string
passPhrase string
salt string
return Microsoft.Win32

RegistryGetValueAndDecrypt() public method

public RegistryGetValueAndDecrypt ( string keyNameSuffix, object defaultValue ) : string
keyNameSuffix string
defaultValue object
return string