C# Класс DotNetNuke.Extensions.Text.Encryptor

Provides methods for encrypting and decrypting clear texts.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

Decrypt() публичный Метод

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.
Результат string

Encrypt() публичный Метод

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.
Результат string