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

상속: IBlockCipher
파일 보기 프로젝트 열기: nonorganic/dssnet 1 사용 예제들

공개 메소드들

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

비공개 메소드들

메소드 설명
AddSBox ( string sBoxName, byte sBox ) : void
Gost28147Engine ( ) : System
Gost28147Func ( int workingKey, byte inBytes, int inOff, byte outBytes, int outOff ) : void
Gost28147_mainStep ( int n1, int key ) : int
bytesToint ( byte inBytes, int inOff ) : int
generateWorkingKey ( bool forEncryption, byte userKey ) : int[]
intTobytes ( int num, byte outBytes, int outOff ) : void

메소드 상세

GetBlockSize() 공개 메소드

public GetBlockSize ( ) : int
리턴 int

GetSBox() 공개 정적인 메소드

public static GetSBox ( string sBoxName ) : byte[]
sBoxName string
리턴 byte[]

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