C# Class NSoft.NFramework.Cryptography.Encryptors.SymmetricEncryptor

Inheritance: ISymmetricEncryptor
显示文件 Open project: debop/NFramework Class Usage Examples

Public Methods

Method Description
Decrypt ( byte cipher ) : byte[]

지정한 암호화된 정보를 복호화한다.

Dispose ( ) : void

리소스 해제

Encrypt ( byte plainBytes ) : byte[]

지정한 정보를 암호화한다.

SymmetricEncryptor ( ) : System

Constructor

SymmetricEncryptor ( SymmetricAlgorithm algorithm ) : System

Constructor

SymmetricEncryptor ( SymmetricAlgorithm algorithm, string key ) : System

Constructor

Protected Methods

Method Description
Dispose ( bool disposing ) : void

리소스 해제

Method Details

Decrypt() public method

지정한 암호화된 정보를 복호화한다.
public Decrypt ( byte cipher ) : byte[]
cipher byte 암호화된 정보
return byte[]

Dispose() public method

리소스 해제
public Dispose ( ) : void
return void

Dispose() protected method

리소스 해제
protected Dispose ( bool disposing ) : void
disposing bool
return void

Encrypt() public method

지정한 정보를 암호화한다.
public Encrypt ( byte plainBytes ) : byte[]
plainBytes byte 암호화할 정보
return byte[]

SymmetricEncryptor() public method

Constructor
public SymmetricEncryptor ( ) : System
return System

SymmetricEncryptor() public method

Constructor
public SymmetricEncryptor ( SymmetricAlgorithm algorithm ) : System
algorithm System.Security.Cryptography.SymmetricAlgorithm
return System

SymmetricEncryptor() public method

Constructor
public SymmetricEncryptor ( SymmetricAlgorithm algorithm, string key ) : System
algorithm System.Security.Cryptography.SymmetricAlgorithm
key string
return System