C# 클래스 DotNetNuke.Extensions.Text.Encryptor

Provides methods for encrypting and decrypting clear texts.
파일 보기 프로젝트 열기: JonHaywood/DotNetNuke.Extensions

공개 메소드들

메소드 설명
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