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
RC2Transform.cs
Go to the documentation of this file.
1
using
System
;
2
using
Mono.Security.Cryptography
;
3
4
namespace
System.Security.Cryptography
5
{
6
// Token: 0x02000314 RID: 788
7
internal
class
RC2Transform
:
SymmetricTransform
8
{
9
// Token: 0x06001AC4 RID: 6852 RVA: 0x00039B88 File Offset: 0x00037D88
10
public
RC2Transform
(
RC2
rc2Algo
,
bool
encryption
,
byte
[]
key
,
byte
[]
iv
)
11
:
base
(
rc2Algo
,
encryption
,
iv
)
12
{
13
if
(
key
==
null
)
14
{
15
return
;
16
}
17
object
obj
;
18
if
(
obj
!=
null
&&
obj
==
null
)
19
{
20
throw
new
InvalidCastException
();
21
}
22
if
(255 == 0)
23
{
24
}
25
}
26
27
// Token: 0x06001AC5 RID: 6853 RVA: 0x00039BE0 File Offset: 0x00037DE0
28
protected
override
void
ECB
(
byte
[]
input
,
byte
[] output)
29
{
30
if
(this.
encrypt
)
31
{
32
ushort[]
k
= this.
K
;
33
int
num = 20;
34
this.j
= num;
35
this.j
= num;
36
this.R0
=
k
;
37
this.R0
=
k
;
38
return
;
39
}
40
ushort[]
k2
= this.
K
;
41
int
num2
= 63;
42
this.j
=
num2
;
43
this.R3
= (ushort)
num2
;
44
this.R1
= (ushort)
num2
;
45
this.R0
=
input
;
46
int
num3
= 43;
47
this.j
=
num3
;
48
this.R3
= (ushort)
num2
;
49
this.R3
= (ushort)
num2
;
50
this.R1
=
input
;
51
this.j
=
num3
;
52
this.R2
= (ushort)
num2
;
53
this.R0
=
k2
;
54
this.R2
= (ushort)
num2
;
55
this.R0
=
input
;
56
this.R0
=
k2
;
57
this.j
=
num3
;
58
ushort r = this.
R1
;
59
ushort
r2
= this.
R2
;
60
ushort
r3
= this.
R3
;
61
}
62
63
// Token: 0x06001AC6 RID: 6854 RVA: 0x00039CB8 File Offset: 0x00037EB8
64
// Note: this type is marked as 'beforefieldinit'.
65
static
RC2Transform
()
66
{
67
}
68
69
// Token: 0x04000DA1 RID: 3489
70
private
ushort
R0
;
71
72
// Token: 0x04000DA2 RID: 3490
73
private
ushort
R1
;
74
75
// Token: 0x04000DA3 RID: 3491
76
private
ushort
R2
;
77
78
// Token: 0x04000DA4 RID: 3492
79
private
ushort
R3
;
80
81
// Token: 0x04000DA5 RID: 3493
82
private
ushort[]
K
;
83
84
// Token: 0x04000DA6 RID: 3494
85
private
int
j
;
86
87
// Token: 0x04000DA7 RID: 3495
88
private
static
readonly
byte
[]
pitable
;
89
}
90
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Mono.Security.Cryptography.SymmetricTransform.encrypt
bool encrypt
Definition
SymmetricTransform.cs:371
Mono.Security.Cryptography.SymmetricTransform
Definition
SymmetricTransform.cs:9
System.InvalidCastException
Definition
InvalidCastException.cs:9
System.Security.Cryptography.RC2Transform.ECB
override void ECB(byte[] input, byte[] output)
Definition
RC2Transform.cs:28
System.Security.Cryptography.RC2Transform.j
int j
Definition
RC2Transform.cs:85
System.Security.Cryptography.RC2Transform.R2
ushort R2
Definition
RC2Transform.cs:76
System.Security.Cryptography.RC2Transform.pitable
static readonly byte[] pitable
Definition
RC2Transform.cs:88
System.Security.Cryptography.RC2Transform.RC2Transform
static RC2Transform()
Definition
RC2Transform.cs:65
System.Security.Cryptography.RC2Transform.RC2Transform
RC2Transform(RC2 rc2Algo, bool encryption, byte[] key, byte[] iv)
Definition
RC2Transform.cs:10
System.Security.Cryptography.RC2Transform.R0
ushort R0
Definition
RC2Transform.cs:70
System.Security.Cryptography.RC2Transform.R1
ushort R1
Definition
RC2Transform.cs:73
System.Security.Cryptography.RC2Transform.K
ushort[] K
Definition
RC2Transform.cs:82
System.Security.Cryptography.RC2Transform.R3
ushort R3
Definition
RC2Transform.cs:79
System.Security.Cryptography.RC2Transform
Definition
RC2Transform.cs:8
System.Security.Cryptography.RC2
Definition
RC2.cs:10
Mono.Security.Cryptography
Definition
ARC4Managed.cs:6
System.Security.Cryptography
Definition
Aes.cs:5
System.ExceptionArgument.key
@ key
System.ExceptionArgument.input
@ input
System.ExceptionArgument.obj
@ obj
System
Definition
__ComObject.cs:4
source
mscorlib
System
Security
Cryptography
RC2Transform.cs
Generated by
1.10.0