C# 클래스 Tp.Integration.Ide.VisualStudio.Utils.Crypto

Encrypts/decrypts a string using symmetric key.
파일 보기 프로젝트 열기: TargetProcess/Tp.Integration.Ide.VisualStudio

공개 메소드들

메소드 설명
Crypto ( ) : System

Creates new crypto helper using current machine and user name as the symmetric key.

Crypto ( string key ) : System

Creates new crypto helper using the specified symmetric key.

Decrypt ( string source ) : string

Decrypts the specified encrypted string.

Encrypt ( string source ) : string

Encrypts the specified source string.

메소드 상세

Crypto() 공개 메소드

Creates new crypto helper using current machine and user name as the symmetric key.
public Crypto ( ) : System
리턴 System

Crypto() 공개 메소드

Creates new crypto helper using the specified symmetric key.
If is null. If is empty string.
public Crypto ( string key ) : System
key string Symmetric encryption key.
리턴 System

Decrypt() 공개 메소드

Decrypts the specified encrypted string.
If is null.
public Decrypt ( string source ) : string
source string Encrypted string to decrypt.
리턴 string

Encrypt() 공개 메소드

Encrypts the specified source string.
If is null.
public Encrypt ( string source ) : string
source string The string to encrypt.
리턴 string