0x00x0060
Members 7
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| — | 0x04 | ROUNDS | int | PrivateStatic+1 flags | 12 |
| — | 0x04 | BLOCK_SIZE | int | PrivateStatic+1 flags | 16 |
| 0x08 | _Kr | int[] | Private | — | |
| 0x08 | _Km | uint[] | Private | — | |
| 0x08 | _Tr | int[] | Private | — | |
| 0x08 | _Tm | uint[] | Private | — | |
| 0x08 | _workingKey | uint[] | Private | — |
Inherited from Cast5Engine 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 8
| Signature | Flags | Native | Params |
|---|---|---|---|
| void .ctor() | Public+1 flags | 0x00 | |
| string get_AlgorithmName() | Public+2 flags | 0x08 | |
| int GetBlockSize() | Public+1 flags | 0x04 | |
| void SetKey(const byte[]& key) | 2 flags | 0x08 | |
| int EncryptBlock(const ReadOnlySpan<System.Byte>& input, const Span<System.Byte>& output) | 2 flags | 0x10 | |
| int DecryptBlock(const ReadOnlySpan<System.Byte>& input, const Span<System.Byte>& output) | 2 flags | 0x10 | |
| void CAST_Encipher(uint A, uint B, uint C, uint D, const uint[]& result) | Private | 0x08 | |
| void CAST_Decipher(uint A, uint B, uint C, uint D, const uint[]& result) | Private | 0x08 |