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
HMACSHA256.cs
Go to the documentation of this file.
1using System;
3
5{
6 // Token: 0x020002DE RID: 734
7 [ComVisible(true)]
8 public class HMACSHA256 : HMAC
9 {
10 // Token: 0x060018B0 RID: 6320 RVA: 0x00034E7C File Offset: 0x0003307C
11 public HMACSHA256()
12 {
13 if (!true)
14 {
15 }
16 byte[] array = Utils.GenerateRandom(64);
17 }
18
19 // Token: 0x060018B1 RID: 6321 RVA: 0x00034E94 File Offset: 0x00033094
20 public HMACSHA256(byte[] key)
21 {
23 base..ctor();
24 this.m_hashName = "SHA256";
26 base.InitializeKey(key);
27 }
28 }
29}
class f__AnonymousType0<< Count > j__TPar
static byte[] GenerateRandom(int keySize)
Definition Utils.cs:47