C# 클래스 EfficientlyLazy.Crypto.CryptoManager

Static manager to wrap the specified ICryptoEngine.
파일 보기 프로젝트 열기: jasonlaflair/EfficientlyLazy.Crypto

공개 메소드들

메소드 설명
Decrypt ( byte cipherText ) : byte[]

Decrypts the specified cipher text.

Decrypt ( string cipherText ) : string

Decrypts the specified cipher text.

Encrypt ( byte plaintext ) : byte[]

Encrypts the specified plain text.

Encrypt ( string plaintext ) : string

Encrypts the specified plain text.

GetSetting ( string key ) : string

GetSqlConnectionString ( string key ) : SqlConnectionStringBuilder

Initialize ( ICryptoEngine engine ) : void

Initializes the CryptoEngine to use.

Initialize ( this engine ) : void

Initializes the CryptoEngine to use.

비공개 메소드들

메소드 설명
CheckInitialization ( ) : void

메소드 상세

Decrypt() 공개 정적인 메소드

Decrypts the specified cipher text.
public static Decrypt ( byte cipherText ) : byte[]
cipherText byte The cipher text.
리턴 byte[]

Decrypt() 공개 정적인 메소드

Decrypts the specified cipher text.
public static Decrypt ( string cipherText ) : string
cipherText string The cipher text.
리턴 string

Encrypt() 공개 정적인 메소드

Encrypts the specified plain text.
public static Encrypt ( byte plaintext ) : byte[]
plaintext byte The plain text.
리턴 byte[]

Encrypt() 공개 정적인 메소드

Encrypts the specified plain text.
public static Encrypt ( string plaintext ) : string
plaintext string The plain text.
리턴 string

GetSetting() 공개 정적인 메소드

public static GetSetting ( string key ) : string
key string
리턴 string

GetSqlConnectionString() 공개 정적인 메소드

public static GetSqlConnectionString ( string key ) : SqlConnectionStringBuilder
key string
리턴 SqlConnectionStringBuilder

Initialize() 공개 정적인 메소드

Initializes the CryptoEngine to use.
public static Initialize ( ICryptoEngine engine ) : void
engine ICryptoEngine CryptoEngine to use
리턴 void

Initialize() 공개 정적인 메소드

Initializes the CryptoEngine to use.
public static Initialize ( this engine ) : void
engine this CryptoEngine to use
리턴 void