implements IStreamCipher
0x00x0040
Members 12
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x04 | DEFAULT_ROUNDS | int | PublicStatic+1 flags | — | |
| — | 0x04 | StateSize | int | PrivateStatic+1 flags | 0 |
| 0x08 | TAU_SIGMA | uint[] | PrivateStatic+1 flags | — | |
| 0x04 | rounds | int | 1 flags | — | |
| 0x04 | index | int | 1 flags | — | |
| 0x08 | engineState | uint[] | 1 flags | — | |
| 0x08 | x | uint[] | 1 flags | — | |
| 0x08 | keyStream | byte[] | 1 flags | — | |
| 0x01 | initialised | bool | 1 flags | — | |
| 0x0031 | 0x03 | padding / unreflected | |||
| 0x04 | cW0 | uint | Private | — | |
| 0x04 | cW1 | uint | Private | — | |
| 0x04 | cW2 | uint | Private | — | |
Functions 20
| Signature | Flags | Native | Params |
|---|---|---|---|
| void PackTauOrSigma(int keyLength, const uint[]& state, int stateOffset) | 1 flags | 0x08 | |
| void .ctor() | Public+1 flags | 0x00 | |
| void .ctor(int rounds) | Public+1 flags | 0x04 | |
| void Init(bool forEncryption, ICipherParameters parameters) | Public+2 flags | 0x08 | |
| int get_NonceSize() | 4 flags | 0x04 | |
| string get_AlgorithmName() | Public+3 flags | 0x08 | |
| byte ReturnByte(byte input) | Public+2 flags | 0x01 | |
| void AdvanceCounter() | 3 flags | 0x00 | |
| void ProcessBytes(const byte[]& inBytes, int inOff, int len, const byte[]& outBytes, int outOff) | Public+2 flags | 0x08 | |
| void ProcessBytes(const ReadOnlySpan<System.Byte>& input, const Span<System.Byte>& output) | Public+2 flags | 0x10 | |
| void Reset() | Public+2 flags | 0x00 | |
| void ResetCounter() | 3 flags | 0x00 | |
| void SetKey(const byte[]& keyBytes, const byte[]& ivBytes) | 3 flags | 0x08 | |
| void GenerateKeyStream(const byte[]& output) | 3 flags | 0x08 | |
| void SalsaCore(int rounds, const ReadOnlySpan<System.UInt32>& input, const Span<System.UInt32>& output) | Static+1 flags | 0x10 | |
| void ResetLimitCounter() | 1 flags | 0x00 | |
| bool LimitExceeded() | 1 flags | 0x01 | |
| bool LimitExceeded(uint len) | 1 flags | 0x04 | |
| void QuarterRound(ref uint& a, ref uint& b, ref uint& c, ref uint& d) | PrivateStatic | 0x04 | |
| void .cctor() | PrivateStatic+1 flags | 0x00 |