implements IBlockCipher
0x00x0028
Members 13
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| — | 0x04 | BlockSize | int | PrivateStatic+1 flags | 582045936 |
| 0x08 | workingKey | int[] | Private | — | |
| 0x01 | forEncryption | bool | Private | — | |
| 0x0019 | 0x07 | padding / unreflected | |||
| 0x08 | S | byte[] | Private | — | |
| 0x08 | Sbox_Default | byte[] | PrivateStatic+1 flags | — | |
| 0x08 | ESbox_Test | byte[] | PrivateStatic+1 flags | — | |
| 0x08 | ESbox_A | byte[] | PrivateStatic+1 flags | — | |
| 0x08 | ESbox_B | byte[] | PrivateStatic+1 flags | — | |
| 0x08 | ESbox_C | byte[] | PrivateStatic+1 flags | — | |
| 0x08 | ESbox_D | byte[] | PrivateStatic+1 flags | — | |
| 0x08 | DSbox_Test | byte[] | PrivateStatic+1 flags | — | |
| 0x08 | DSbox_A | byte[] | PrivateStatic+1 flags | — | |
| 0x08 | m_sBoxes | Dictionary<System.String | PrivateStatic+1 flags | — | |
Functions 13
| Signature | Flags | Native | Params |
|---|---|---|---|
| void .cctor() | PrivateStatic+1 flags | — | 0x00 |
| void AddSBox(const string& sBoxName, const byte[]& sBox) | PrivateStatic | 0x08 | |
| void .ctor() | Public+1 flags | 0x00 | |
| void Init(bool forEncryption, ICipherParameters parameters) | Public+2 flags | 0x08 | |
| string get_AlgorithmName() | Public+3 flags | 0x08 | |
| int GetBlockSize() | Public+2 flags | 0x04 | |
| 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[] GenerateWorkingKey(bool forEncryption, const byte[]& userKey) | Private | 0x08 | |
| int Gost28147_mainStep(int n1, int key) | Private | 0x04 | |
| void Gost28147Func(const int[]& workingKey, const ReadOnlySpan<System.Byte>& input, const Span<System.Byte>& output) | Private | 0x10 | |
| byte[] GetSBox(const string& sBoxName) | PublicStatic | 0x08 | |
| string GetSBoxName(const byte[]& sBox) | PublicStatic | 0x08 |