C# 클래스 CASCExplorer.Salsa20.Salsa20CryptoTransform

Salsa20Impl is an implementation of ICryptoTransform that uses the Salsa20 algorithm.
상속: ICryptoTransform
파일 보기 프로젝트 열기: WoW-Tools/CASCExplorer

공개 메소드들

메소드 설명
Dispose ( ) : void
Salsa20CryptoTransform ( byte key, byte iv, int rounds ) : System
TransformBlock ( byte inputBuffer, int inputOffset, int inputCount, byte outputBuffer, int outputOffset ) : int
TransformFinalBlock ( byte inputBuffer, int inputOffset, int inputCount ) : byte[]

비공개 메소드들

메소드 설명
Add ( uint v, uint w ) : uint
AddOne ( uint v ) : uint
Hash ( byte output, uint input ) : void
Initialize ( byte key, byte iv ) : void
Rotate ( uint v, int c ) : uint
ToBytes ( uint input, byte output, int outputOffset ) : void
ToUInt32 ( byte input, int inputOffset ) : uint

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Salsa20CryptoTransform() 공개 메소드

public Salsa20CryptoTransform ( byte key, byte iv, int rounds ) : System
key byte
iv byte
rounds int
리턴 System

TransformBlock() 공개 메소드

public TransformBlock ( byte inputBuffer, int inputOffset, int inputCount, byte outputBuffer, int outputOffset ) : int
inputBuffer byte
inputOffset int
inputCount int
outputBuffer byte
outputOffset int
리턴 int

TransformFinalBlock() 공개 메소드

public TransformFinalBlock ( byte inputBuffer, int inputOffset, int inputCount ) : byte[]
inputBuffer byte
inputOffset int
inputCount int
리턴 byte[]