using System; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests { // Token: 0x02001CFC RID: 7420 [Token(Token = "0x2001CFC")] public class ShortenedDigest : IDigest { // Token: 0x0600BBC3 RID: 48067 RVA: 0x002A91F8 File Offset: 0x002A73F8 [Token(Token = "0x600BBC3")] [Address(RVA = "0x1FE3210", Offset = "0x1FE2010", VA = "0x181FE3210")] public ShortenedDigest(IDigest baseDigest, int length) { /* An exception occurred when decompiling this method (0600BBC3) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.ShortenedDigest::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest,System.Int32) ---> System.Exception: Basic block has to end with unconditional control flow. { IL_19: stloc:ArgumentNullException(var_0_23, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("baseDigest"))) } 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 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 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 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 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 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 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 --- End of inner exception stack trace --- 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 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 1663 */; } // Token: 0x17001D24 RID: 7460 // (get) Token: 0x0600BBC4 RID: 48068 RVA: 0x002A9228 File Offset: 0x002A7428 [Token(Token = "0x17001D24")] public string AlgorithmName { [Token(Token = "0x600BBC4")] [Address(RVA = "0x1FE32F0", Offset = "0x1FE20F0", VA = "0x181FE32F0", Slot = "4")] get { object[] array = new object[4]; IDigest digest = this.baseDigest; if (array != 0) { } array[0] = array; if ("(" != 0) { } array[1] = "("; int num = this.length; if (num != 0) { } array[2] = num; if (")" != 0) { } array[3] = ")"; return string.Concat(array); } } // Token: 0x0600BBC5 RID: 48069 RVA: 0x002A9298 File Offset: 0x002A7498 [Token(Token = "0x600BBC5")] [Address(RVA = "0x40B720", Offset = "0x40A520", VA = "0x18040B720", Slot = "5")] public int GetDigestSize() { return this.length; } // Token: 0x0600BBC6 RID: 48070 RVA: 0x002A92AC File Offset: 0x002A74AC [Token(Token = "0x600BBC6")] [Address(RVA = "0x1FE31B0", Offset = "0x1FE1FB0", VA = "0x181FE31B0", Slot = "7")] public void Update(byte input) { IDigest digest = this.baseDigest; throw new NullReferenceException(); } // Token: 0x0600BBC7 RID: 48071 RVA: 0x002A92C8 File Offset: 0x002A74C8 [Token(Token = "0x600BBC7")] [Address(RVA = "0x1FE2FC0", Offset = "0x1FE1DC0", VA = "0x181FE2FC0", Slot = "8")] public void BlockUpdate(byte[] input, int inOff, int length) { IDigest digest = this.baseDigest; } // Token: 0x0600BBC8 RID: 48072 RVA: 0x002A92E4 File Offset: 0x002A74E4 [Token(Token = "0x600BBC8")] [Address(RVA = "0x1FE3040", Offset = "0x1FE1E40", VA = "0x181FE3040", Slot = "9")] public int DoFinal(byte[] output, int outOff) { IDigest digest = this.baseDigest; byte[] array = new byte[0]; IDigest digest2 = this.baseDigest; int num = this.length; int num2 = 0; Array.Copy(array, num2, output, outOff, num); return this.length; } // Token: 0x0600BBC9 RID: 48073 RVA: 0x002A932C File Offset: 0x002A752C [Token(Token = "0x600BBC9")] [Address(RVA = "0x1FE3160", Offset = "0x1FE1F60", VA = "0x181FE3160", Slot = "10")] public void Reset() { IDigest digest = this.baseDigest; throw new NullReferenceException(); } // Token: 0x0600BBCA RID: 48074 RVA: 0x002A9348 File Offset: 0x002A7548 [Token(Token = "0x600BBCA")] [Address(RVA = "0x1FE3110", Offset = "0x1FE1F10", VA = "0x181FE3110", Slot = "6")] public int GetByteLength() { IDigest digest = this.baseDigest; throw new NullReferenceException(); } // Token: 0x04007742 RID: 30530 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4007742")] private IDigest baseDigest; // Token: 0x04007743 RID: 30531 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4007743")] private int length; } }