implements IBlockCipher
0x00x0038
Members 16
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | S1 | uint[] | PrivateStatic+1 flags | — | |
| 0x08 | S2 | uint[] | PrivateStatic+1 flags | — | |
| 0x08 | S3 | uint[] | PrivateStatic+1 flags | — | |
| 0x08 | S4 | uint[] | PrivateStatic+1 flags | — | |
| 0x08 | S5 | uint[] | PrivateStatic+1 flags | — | |
| 0x08 | S6 | uint[] | PrivateStatic+1 flags | — | |
| 0x08 | S7 | uint[] | PrivateStatic+1 flags | — | |
| 0x08 | S8 | uint[] | PrivateStatic+1 flags | — | |
| 0x04 | MAX_ROUNDS | int | Static+2 flags | — | |
| 0x04 | RED_ROUNDS | int | Static+2 flags | — | |
| — | 0x04 | BLOCK_SIZE | int | PrivateStatic+1 flags | 582046016 |
| 0x08 | _Kr | int[] | Private | — | |
| 0x08 | _Km | uint[] | Private | — | |
| 0x01 | _encrypting | bool | Private | — | |
| 0x08 | _workingKey | byte[] | Private | — | |
| 0x04 | _rounds | int | Private | — |
Functions 17
| Signature | Flags | Native | Params |
|---|---|---|---|
| void .ctor() | Public+1 flags | — | 0x00 |
| void Init(bool forEncryption, ICipherParameters parameters) | Public+2 flags | — | 0x08 |
| string get_AlgorithmName() | Public+3 flags | — | 0x08 |
| int ProcessBlock(const byte[]& input, int inOff, const byte[]& output, int outOff) | Public+2 flags | — | 0x08 |
| int ProcessBlock(const ReadOnlySpan<System.Byte>& input, const Span<System.Byte>& output) | Public+2 flags | — | 0x10 |
| int GetBlockSize() | Public+2 flags | — | 0x04 |
| void SetKey(const byte[]& key) | 3 flags | — | 0x08 |
| int EncryptBlock(const ReadOnlySpan<System.Byte>& input, const Span<System.Byte>& output) | 3 flags | — | 0x10 |
| int DecryptBlock(const ReadOnlySpan<System.Byte>& input, const Span<System.Byte>& output) | 3 flags | — | 0x10 |
| uint F1(uint D, uint Kmi, int Kri) | Static+1 flags | — | 0x04 |
| uint F2(uint D, uint Kmi, int Kri) | Static+1 flags | — | 0x04 |
| uint F3(uint D, uint Kmi, int Kri) | Static+1 flags | — | 0x04 |
| void CAST_Encipher(uint L0, uint R0, const uint[]& result) | 1 flags | — | 0x08 |
| void CAST_Decipher(uint L16, uint R16, const uint[]& result) | 1 flags | — | 0x08 |
| void Bits32ToInts(uint inData, const int[]& b, int offset) | Static+1 flags | — | 0x08 |
| uint IntsTo32bits(const int[]& b, int i) | Static+1 flags | — | 0x08 |
| void .cctor() | PrivateStatic+1 flags | — | 0x00 |