C# Class DotNetNuke.Extensions.Text.Encryptor

Provides methods for encrypting and decrypting clear texts.
Afficher le fichier Open project: JonHaywood/DotNetNuke.Extensions

Méthodes publiques

Méthode Description
Decrypt ( string cipherText, string password, byte salt ) : string

Decrypts an encrypted text using specified password and salt.

Encrypt ( string clearText, string password, byte salt ) : string

Encrypts a clear text using specified password and salt.

Method Details

Decrypt() public méthode

Decrypts an encrypted text using specified password and salt.
public Decrypt ( string cipherText, string password, byte salt ) : string
cipherText string The text to decrypt.
password string The password used to encrypt text.
salt byte The salt added to encrypted text.
Résultat string

Encrypt() public méthode

Encrypts a clear text using specified password and salt.
public Encrypt ( string clearText, string password, byte salt ) : string
clearText string The text to encrypt.
password string The password to create key for.
salt byte The salt to add to encrypted text to make it more secure.
Résultat string