terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
SymmetricTransform.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x0200004C RID: 76
9 {
10 // Token: 0x0600018E RID: 398 RVA: 0x000061B8 File Offset: 0x000043B8
12 {
15 if (rgbIV != null)
16 {
17 object obj;
18 if (obj != null)
19 {
20 if (obj == null)
21 {
22 throw new InvalidCastException();
23 }
24 }
29 int num = Math.Min(this.BlockSizeByte, blockSizeByte2);
35 return;
36 }
37 }
38
39 // Token: 0x0600018F RID: 399 RVA: 0x00006258 File Offset: 0x00004458
40 protected override void Finalize()
41 {
42 base.Finalize();
43 }
44
45 // Token: 0x06000190 RID: 400 RVA: 0x0000628C File Offset: 0x0000448C
47 {
48 GC.SuppressFinalize(this);
49 }
50
51 // Token: 0x06000191 RID: 401 RVA: 0x000062A0 File Offset: 0x000044A0
52 protected virtual void Dispose(bool disposing)
53 {
54 if (!this.m_disposed)
55 {
56 byte[] array = this.temp;
58 long num = 0L;
59 Array.Clear(array, (int)num, blockSizeByte);
60 byte[] array2 = this.temp2;
62 long num2 = 0L;
64 this.m_disposed = true;
65 }
66 }
67
68 // Token: 0x17000028 RID: 40
69 // (get) Token: 0x06000192 RID: 402 RVA: 0x000062F0 File Offset: 0x000044F0
70 public virtual bool CanTransformMultipleBlocks
71 {
72 get
73 {
74 return true;
75 }
76 }
77
78 // Token: 0x17000029 RID: 41
79 // (get) Token: 0x06000193 RID: 403 RVA: 0x00006300 File Offset: 0x00004500
80 public virtual bool CanReuseTransform
81 {
82 get
83 {
84 }
85 }
86
87 // Token: 0x1700002A RID: 42
88 // (get) Token: 0x06000194 RID: 404 RVA: 0x00006310 File Offset: 0x00004510
89 public virtual int InputBlockSize
90 {
91 get
92 {
93 return this.BlockSizeByte;
94 }
95 }
96
97 // Token: 0x1700002B RID: 43
98 // (get) Token: 0x06000195 RID: 405 RVA: 0x00006324 File Offset: 0x00004524
99 public virtual int OutputBlockSize
100 {
101 get
102 {
103 return this.BlockSizeByte;
104 }
105 }
106
107 // Token: 0x06000196 RID: 406 RVA: 0x00006338 File Offset: 0x00004538
108 protected virtual void Transform(byte[] input, byte[] output)
109 {
111 }
112
113 // Token: 0x06000197 RID: 407
114 protected abstract void ECB(byte[] input, byte[] output);
115
116 // Token: 0x06000198 RID: 408 RVA: 0x00006364 File Offset: 0x00004564
117 protected virtual void CBC(byte[] input, byte[] output)
118 {
119 if (this.encrypt)
120 {
121 int blockSizeByte = this.BlockSizeByte;
122 byte[] array = this.temp;
123 byte[] array2 = this.temp;
124 byte[] array3 = this.temp;
125 int blockSizeByte2 = this.BlockSizeByte;
126 return;
127 }
128 byte[] array4 = this.temp2;
129 int blockSizeByte3 = this.BlockSizeByte;
130 long num = 0L;
131 long num2 = 0L;
132 Buffer.BlockCopy(input, (int)num, array4, (int)num2, blockSizeByte3);
133 int blockSizeByte4 = this.BlockSizeByte;
134 byte[] array5 = this.temp;
136 byte[] array6 = this.temp;
137 byte[] array7 = this.temp2;
138 long num3 = 0L;
139 long num4 = 0L;
141 }
142
143 // Token: 0x06000199 RID: 409 RVA: 0x00006400 File Offset: 0x00004600
144 protected virtual void CFB(byte[] input, byte[] output)
145 {
146 int blockSizeByte = this.BlockSizeByte;
147 int num3;
148 if (this.encrypt)
149 {
150 long num = 0L;
151 byte[] array = this.temp;
152 byte[] array2 = this.temp2;
153 byte[] array3 = this.temp2;
154 long num2 = 0L;
155 int blockSizeByte2 = this.BlockSizeByte;
156 byte[] array4 = this.temp;
157 int blockSizeByte3 = this.BlockSizeByte;
158 byte[] array5 = this.temp;
159 num3 = 1;
160 Buffer.BlockCopy(output, (int)num, array5, (int)num2, num3);
161 return;
162 }
163 long num4 = 0L;
164 int num5 = 1;
165 this.encrypt = num5 != 0;
166 byte[] array6 = this.temp;
167 byte[] array7 = this.temp2;
168 int blockSizeByte4 = this.BlockSizeByte;
169 byte[] array8 = this.temp;
170 int num6 = 1;
171 long num7 = 0L;
173 int blockSizeByte5 = this.BlockSizeByte;
174 byte[] array9 = this.temp;
175 int num8 = 1;
176 Buffer.BlockCopy(input, (int)num4, array9, (int)num7, num8);
177 byte[] array10 = this.temp2;
179 }
180
181 // Token: 0x0600019A RID: 410 RVA: 0x0000207A File Offset: 0x0000027A
182 protected virtual void OFB(byte[] input, byte[] output)
183 {
184 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
185 }
186
187 // Token: 0x0600019B RID: 411 RVA: 0x0000207A File Offset: 0x0000027A
188 protected virtual void CTS(byte[] input, byte[] output)
189 {
190 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
191 }
192
193 // Token: 0x0600019C RID: 412 RVA: 0x000064DC File Offset: 0x000046DC
194 private void CheckInput(byte[] inputBuffer, int inputOffset, int inputCount)
195 {
196 if (inputBuffer != null)
197 {
198 return;
199 }
200 }
201
202 // Token: 0x0600019D RID: 413 RVA: 0x000064FC File Offset: 0x000046FC
203 public virtual int TransformBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)
204 {
205 for (;;)
206 {
207 if (!this.m_disposed)
208 {
209 this.CheckInput(inputBuffer, inputOffset, inputCount);
210 if (outputBuffer != null && !this.encrypt)
211 {
212 break;
213 }
214 }
215 }
216 if (this.padmode == (PaddingMode)0)
217 {
219 }
220 int blockSizeByte = this.BlockSizeByte;
221 int blockSizeByte2 = this.BlockSizeByte;
222 return this.InternalTransformBlock(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset);
223 }
224
225 // Token: 0x1700002C RID: 44
226 // (get) Token: 0x0600019E RID: 414 RVA: 0x0000655C File Offset: 0x0000475C
227 private bool KeepLastBlock
228 {
229 get
230 {
231 while (!this.encrypt)
232 {
233 }
234 }
235 }
236
237 // Token: 0x0600019F RID: 415 RVA: 0x00006574 File Offset: 0x00004774
238 private int InternalTransformBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)
239 {
240 /*
241An exception occurred when decompiling this method (0600019F)
242
243ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Mono.Security.Cryptography.SymmetricTransform::InternalTransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32)
244
245 ---> System.Exception: Basic block has to end with unconditional control flow.
246{
247 Block_2:
248 stloc:PaddingMode(var_18_BF, ldfld:PaddingMode(SymmetricTransform::padmode, ldloc:SymmetricTransform(this)))
249 stloc:uint8[](var_19_C7, ldfld:uint8[](SymmetricTransform::workBuff, ldloc:SymmetricTransform(this)))
250 stloc:int64(var_20_CA, ldc.i4:int64(0))
251 call:void(Buffer::BlockCopy, ldloc:uint8[][exp:Array](inputBuffer), ldloc:int32(inputOffset), ldloc:uint8[][exp:Array](var_19_C7), ldloc:int64[exp:int32](var_20_CA), ldloc:int32(var_17_AC))
252 stloc:int32(var_21_DA, ldc.i4:int32(1))
253 stfld:bool(SymmetricTransform::lastBlock, ldloc:SymmetricTransform(this), ldloc:int32[exp:bool](var_21_DA))
254}
255
256 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
257 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
258 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
259 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
260 --- End of inner exception stack trace ---
261 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
262 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
263*/;
264 }
265
266 // Token: 0x060001A0 RID: 416 RVA: 0x00006664 File Offset: 0x00004864
267 private void Random(byte[] buffer, int start, int length)
268 {
269 if (this._rng == null)
270 {
273 }
274 RandomNumberGenerator rng = this._rng;
275 }
276
277 // Token: 0x060001A1 RID: 417 RVA: 0x00006690 File Offset: 0x00004890
278 private void ThrowBadPaddingException(PaddingMode padding, int length, int position)
279 {
280 /*
281An exception occurred when decompiling this method (060001A1)
282
283ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void Mono.Security.Cryptography.SymmetricTransform::ThrowBadPaddingException(System.Security.Cryptography.PaddingMode,System.Int32,System.Int32)
284
285 ---> System.Exception: Basic block has to end with unconditional control flow.
286{
287 Block_0:
288 stloc:string(var_0_0A, call:string(Locale::GetText, ldstr:string("Bad {0} padding.")))
289 stloc:string(var_3_17, call:string(Locale::GetText, ldstr:string(" Invalid length {0}.")))
290 stloc:string(var_6_23, call:string(string::Concat, ldloc:string(var_2), ldloc:string(var_5)))
291 stloc:string(var_7_2F, call:string(Locale::GetText, ldstr:string(" Error found at position {0}.")))
292 stloc:string(var_10_3D, call:string(string::Concat, ldloc:string(var_6_23), ldloc:string(var_9)))
293}
294
295 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
296 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
297 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
298 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
299 --- End of inner exception stack trace ---
300 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
301 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
302*/;
303 }
304
305 // Token: 0x060001A2 RID: 418 RVA: 0x000066DC File Offset: 0x000048DC
306 protected virtual byte[] FinalEncrypt(byte[] inputBuffer, int inputOffset, int inputCount)
307 {
308 int blockSizeByte = this.BlockSizeByte;
310 int blockSizeByte2 = this.BlockSizeByte;
311 int blockSizeByte3 = this.BlockSizeByte;
313 return inputBuffer;
314 }
315
316 // Token: 0x060001A3 RID: 419 RVA: 0x00006720 File Offset: 0x00004920
317 protected virtual byte[] FinalDecrypt(byte[] inputBuffer, int inputOffset, int inputCount)
318 {
319 if (this.lastBlock)
320 {
321 int blockSizeByte = this.BlockSizeByte;
322 }
323 int blockSizeByte2 = this.BlockSizeByte;
324 int blockSizeByte3 = this.BlockSizeByte;
325 byte[] array3;
326 if (this.lastBlock)
327 {
328 byte[] array = this.workBuff;
329 byte[] array2 = this.workout;
330 array3 = this.workout;
331 int blockSizeByte4 = this.BlockSizeByte;
332 }
333 return array3;
334 }
335
336 // Token: 0x060001A4 RID: 420 RVA: 0x000067AC File Offset: 0x000049AC
337 public virtual byte[] TransformFinalBlock(byte[] inputBuffer, int inputOffset, int inputCount)
338 {
339 /*
340An exception occurred when decompiling this method (060001A4)
341
342ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Byte[] Mono.Security.Cryptography.SymmetricTransform::TransformFinalBlock(System.Byte[],System.Int32,System.Int32)
343
344 ---> System.Exception: Basic block has to end with unconditional control flow.
345{
346 Block_0:
347 call:void(SymmetricTransform::CheckInput, ldloc:SymmetricTransform(this), ldloc:uint8[](inputBuffer), ldloc:int32(inputOffset), ldloc:int32(inputCount))
348 brtrue(IL_0000, logicnot:bool(ldfld:bool(SymmetricTransform::encrypt, ldloc:SymmetricTransform(this))))
349}
350
351 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
352 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
353 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
354 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
355 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
356 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
357 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
358 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
359 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
360 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
361 --- End of inner exception stack trace ---
362 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
363 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
364*/;
365 }
366
367 // Token: 0x04000164 RID: 356
369
370 // Token: 0x04000165 RID: 357
371 protected bool encrypt;
372
373 // Token: 0x04000166 RID: 358
374 protected int BlockSizeByte;
375
376 // Token: 0x04000167 RID: 359
377 protected byte[] temp;
378
379 // Token: 0x04000168 RID: 360
380 protected byte[] temp2;
381
382 // Token: 0x04000169 RID: 361
383 private byte[] workBuff;
384
385 // Token: 0x0400016A RID: 362
386 private byte[] workout;
387
388 // Token: 0x0400016B RID: 363
390
391 // Token: 0x0400016C RID: 364
392 protected int FeedBackByte;
393
394 // Token: 0x0400016D RID: 365
395 private bool m_disposed;
396
397 // Token: 0x0400016E RID: 366
398 protected bool lastBlock;
399
400 // Token: 0x0400016F RID: 367
402 }
403}
class f__AnonymousType0<< Count > j__TPar
void CheckInput(byte[] inputBuffer, int inputOffset, int inputCount)
void Random(byte[] buffer, int start, int length)
void ThrowBadPaddingException(PaddingMode padding, int length, int position)
virtual byte[] FinalDecrypt(byte[] inputBuffer, int inputOffset, int inputCount)
virtual void Transform(byte[] input, byte[] output)
void ECB(byte[] input, byte[] output)
virtual byte[] FinalEncrypt(byte[] inputBuffer, int inputOffset, int inputCount)
virtual void CTS(byte[] input, byte[] output)
int InternalTransformBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)
virtual int TransformBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)
virtual void OFB(byte[] input, byte[] output)
virtual void CBC(byte[] input, byte[] output)
SymmetricTransform(SymmetricAlgorithm symmAlgo, bool encryption, byte[] rgbIV)
virtual byte[] TransformFinalBlock(byte[] inputBuffer, int inputOffset, int inputCount)
virtual void CFB(byte[] input, byte[] output)
void IList. Clear()
Definition Array.cs:99
static void BlockCopy(Array src, int srcOffset, Array dst, int dstOffset, int count)
Definition Buffer.cs:60
static void SuppressFinalize(object obj)
Definition GC.cs:116
static byte Min(byte val1, byte val2)
Definition Math.cs:152