C# 클래스 Org.BouncyCastle.Crypto.Engines.DesEngine

A class that provides a basic DES engine.
상속: IBlockCipher
파일 보기 프로젝트 열기: nonorganic/dssnet 1 사용 예제들

공개 메소드들

메소드 설명
GetBlockSize ( ) : int
GetWorkingKey ( ) : int[]
Init ( bool forEncryption, ICipherParameters parameters ) : void
ProcessBlock ( byte input, int inOff, byte output, int outOff ) : int
Reset ( ) : void

보호된 메소드들

메소드 설명
GenerateWorkingKey ( bool encrypting, byte key ) : int[]

비공개 메소드들

메소드 설명
DesFunc ( int wKey, byte input, int inOff, byte outBytes, int outOff ) : void

메소드 상세

GenerateWorkingKey() 보호된 정적인 메소드

protected static GenerateWorkingKey ( bool encrypting, byte key ) : int[]
encrypting bool
key byte
리턴 int[]

GetBlockSize() 공개 메소드

public GetBlockSize ( ) : int
리턴 int

GetWorkingKey() 공개 메소드

public GetWorkingKey ( ) : int[]
리턴 int[]

Init() 공개 메소드

public Init ( bool forEncryption, ICipherParameters parameters ) : void
forEncryption bool
parameters ICipherParameters
리턴 void

ProcessBlock() 공개 메소드

public ProcessBlock ( byte input, int inOff, byte output, int outOff ) : int
input byte
inOff int
output byte
outOff int
리턴 int

Reset() 공개 메소드

public Reset ( ) : void
리턴 void