C# Class Snowcode.S3BuildPublisher.Client.EncryptionHelper

Mostra file Open project: BookSwapSteve/AWS-MSBuild-Task-Library

Public Methods

Method Description
Decrypt ( string password, string toDecrypt ) : string

Decrypts the value passed in.

Encrypt ( string password, string toEncrypt ) : string

Encrypts the value passed in.

Private Methods

Method Description
SaltedPassword ( string password ) : string

Method Details

Decrypt() public static method

Decrypts the value passed in.
public static Decrypt ( string password, string toDecrypt ) : string
password string The pasword to use to decrypt the value
toDecrypt string The encrypted value to decrypt. Base64 encoded
return string

Encrypt() public static method

Encrypts the value passed in.
public static Encrypt ( string password, string toEncrypt ) : string
password string
toEncrypt string The clear value to encrypt
return string