using System; using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests { // Token: 0x02001CF3 RID: 7411 [Token(Token = "0x2001CF3")] public class Sha3Digest : KeccakDigest { // Token: 0x0600BB4E RID: 47950 RVA: 0x002A6EA0 File Offset: 0x002A50A0 [Token(Token = "0x600BB4E")] [Address(RVA = "0x1FE1590", Offset = "0x1FE0390", VA = "0x181FE1590")] private static int CheckBitLength(int bitLength) { if (bitLength <= 256 || bitLength != 384) { } return bitLength; } // Token: 0x0600BB4F RID: 47951 RVA: 0x002A6ED4 File Offset: 0x002A50D4 [Token(Token = "0x600BB4F")] [Address(RVA = "0x1FE19E0", Offset = "0x1FE07E0", VA = "0x181FE19E0")] public Sha3Digest() : base(256) { } // Token: 0x0600BB50 RID: 47952 RVA: 0x002A6EEC File Offset: 0x002A50EC [Token(Token = "0x600BB50")] [Address(RVA = "0x1FE18E0", Offset = "0x1FE06E0", VA = "0x181FE18E0")] public Sha3Digest(int bitLength) { if (bitLength <= 256 || bitLength != 384) { } base..ctor(bitLength); } // Token: 0x0600BB51 RID: 47953 RVA: 0x002A6F1C File Offset: 0x002A511C [Token(Token = "0x600BB51")] [Address(RVA = "0x1FE1870", Offset = "0x1FE0670", VA = "0x181FE1870")] public Sha3Digest(Sha3Digest source) : base(source) { } // Token: 0x17001D1B RID: 7451 // (get) Token: 0x0600BB52 RID: 47954 RVA: 0x002A6F30 File Offset: 0x002A5130 [Token(Token = "0x17001D1B")] public override string AlgorithmName { [Token(Token = "0x600BB52")] [Address(RVA = "0x1FE1A60", Offset = "0x1FE0860", VA = "0x181FE1A60", Slot = "13")] get { int fixedOutputLength = this.fixedOutputLength; return "SHA3-" + fixedOutputLength; } } // Token: 0x0600BB53 RID: 47955 RVA: 0x002A6F50 File Offset: 0x002A5150 [Token(Token = "0x600BB53")] [Address(RVA = "0x1FE1820", Offset = "0x1FE0620", VA = "0x181FE1820", Slot = "17")] public override int DoFinal(byte[] output, int outOff) { base.AbsorbBits(2, 2); return base.DoFinal(output, outOff); } // Token: 0x0600BB54 RID: 47956 RVA: 0x002A6F70 File Offset: 0x002A5170 [Token(Token = "0x600BB54")] [Address(RVA = "0x1FE16E0", Offset = "0x1FE04E0", VA = "0x181FE16E0", Slot = "18")] protected override int DoFinal(byte[] output, int outOff, byte partialByte, int partialBits) { int num = 0; byte[] array = new byte[0]; uint num2; array[0] = (byte)num2; int num3 = 0; base.Absorb(array, num3, 1); return base.DoFinal(output, outOff, (byte)num2, num); } // Token: 0x0600BB55 RID: 47957 RVA: 0x002A6FB4 File Offset: 0x002A51B4 [Token(Token = "0x600BB55")] [Address(RVA = "0x1FE1650", Offset = "0x1FE0450", VA = "0x181FE1650", Slot = "21")] public override IMemoable Copy() { /* An exception occurred when decompiling this method (0600BB55) ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IMemoable BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests.Sha3Digest::Copy() ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: stloc:Sha3Digest(var_0_06, newobj:Sha3Digest(Sha3Digest::.ctor, ldloc:Sha3Digest[exp:int32](this))) } 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.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 */; } } }