C# 클래스 nHydrate.Generator.Common.Util.SymmetricCryptographyHelper

상속: CryptographyHelperBase
파일 보기 프로젝트 열기: nHydrate/nHydrate

보호된 프로퍼티들

프로퍼티 타입 설명
algorithmId CryptographyAlgorithm
entropy string

공개 메소드들

메소드 설명
Decrypt ( byte cipherText ) : byte[]
Dispose ( ) : void
Encrypt ( byte plaintext ) : byte[]
SymmetricCryptographyHelper ( CryptographyAlgorithm algId ) : System
SymmetricCryptographyHelper ( CryptographyAlgorithm algId, string password ) : System

비공개 메소드들

메소드 설명
GetCryptoAlgorithm ( ) : void
GetKey ( byte salt ) : byte[]
GetSalt ( ) : byte[]

메소드 상세

Decrypt() 공개 메소드

public Decrypt ( byte cipherText ) : byte[]
cipherText byte
리턴 byte[]

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Encrypt() 공개 메소드

public Encrypt ( byte plaintext ) : byte[]
plaintext byte
리턴 byte[]

SymmetricCryptographyHelper() 공개 메소드

public SymmetricCryptographyHelper ( CryptographyAlgorithm algId ) : System
algId CryptographyAlgorithm
리턴 System

SymmetricCryptographyHelper() 공개 메소드

public SymmetricCryptographyHelper ( CryptographyAlgorithm algId, string password ) : System
algId CryptographyAlgorithm
password string
리턴 System

프로퍼티 상세

algorithmId 보호되어 있는 프로퍼티

protected CryptographyAlgorithm algorithmId
리턴 CryptographyAlgorithm

entropy 보호되어 있는 프로퍼티

protected string entropy
리턴 string