C# Class Snowcode.S3BuildPublisher.Client.EncryptionHelper

Afficher le fichier Open project: BookSwapSteve/AWS-MSBuild-Task-Library

Méthodes publiques

Méthode 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

Méthode Description
SaltedPassword ( string password ) : string

Method Details

Decrypt() public static méthode

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
Résultat string

Encrypt() public static méthode

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