C# 클래스 Org.BouncyCastle.Crypto.Digests.Sha3Digest

Implementation of SHA-3 based on following KeccakNISTInterface.c from http://keccak.noekeon.org/
Following the naming conventions used in the C source code to enable easy review of the implementation.
상속: IDigest
파일 보기 프로젝트 열기: nonorganic/dssnet 1 사용 예제들

공개 메소드들

메소드 설명
BlockUpdate ( byte input, int inOff, int len ) : void
DoFinal ( byte output, int outOff ) : int
GetByteLength ( ) : int
GetDigestSize ( ) : int
Reset ( ) : void
Sha3Digest ( ) : System
Sha3Digest ( Sha3Digest source ) : System
Sha3Digest ( int bitLength ) : System
Update ( byte input ) : void

비공개 메소드들

메소드 설명
Absorb ( byte data, int off, long databitlen ) : void
AbsorbQueue ( ) : void
Chi ( ulong A ) : void
ClearDataQueueSection ( int off, int len ) : void
DoUpdate ( byte data, int off, long databitlen ) : void
FromBytesToWords ( ulong stateAsWords, byte state ) : void
FromWordsToBytes ( byte state, ulong stateAsWords ) : void
Init ( int bitLength ) : void
InitSponge ( int rate, int capacity ) : void
Iota ( ulong A, int indexRound ) : void
KeccakAbsorb ( byte byteState, byte data, int dataInBytes ) : void
KeccakExtract ( byte byteState, byte data, int laneCount ) : void
KeccakExtract1024bits ( byte byteState, byte data ) : void
KeccakInitializeRhoOffsets ( ) : int[]
KeccakInitializeRoundConstants ( ) : ulong[]
KeccakPermutation ( byte state ) : void
KeccakPermutationAfterXor ( byte state, byte data, int dataLengthInBytes ) : void
KeccakPermutationOnWords ( ulong state ) : void
PadAndSwitchToSqueezingPhase ( ) : void
Pi ( ulong A ) : void
Rho ( ulong A ) : void
Squeeze ( byte output, int offset, long outputLength ) : void
Theta ( ulong A ) : void

메소드 상세

BlockUpdate() 공개 메소드

public BlockUpdate ( byte input, int inOff, int len ) : void
input byte
inOff int
len int
리턴 void

DoFinal() 공개 메소드

public DoFinal ( byte output, int outOff ) : int
output byte
outOff int
리턴 int

GetByteLength() 공개 메소드

public GetByteLength ( ) : int
리턴 int

GetDigestSize() 공개 메소드

public GetDigestSize ( ) : int
리턴 int

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

Sha3Digest() 공개 메소드

public Sha3Digest ( ) : System
리턴 System

Sha3Digest() 공개 메소드

public Sha3Digest ( Sha3Digest source ) : System
source Sha3Digest
리턴 System

Sha3Digest() 공개 메소드

public Sha3Digest ( int bitLength ) : System
bitLength int
리턴 System

Update() 공개 메소드

public Update ( byte input ) : void
input byte
리턴 void