a
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace ExitGames.Client.Photon.Encryption
|
||||
{
|
||||
// Token: 0x0200004C RID: 76
|
||||
[Token(Token = "0x200004C")]
|
||||
public interface IPhotonEncryptor
|
||||
{
|
||||
// Token: 0x06000358 RID: 856
|
||||
[Token(Token = "0x6000358")]
|
||||
[Address(Slot = "0")]
|
||||
void Init(byte[] encryptionSecret, byte[] hmacSecret, [Optional] byte[] ivBytes, bool chainingModeGCM = false);
|
||||
|
||||
// Token: 0x06000359 RID: 857
|
||||
[Token(Token = "0x6000359")]
|
||||
[Address(Slot = "1")]
|
||||
void Encrypt(byte[] data, int len, byte[] output, ref int offset, bool ivPrefix = true);
|
||||
|
||||
// Token: 0x0600035A RID: 858
|
||||
[Token(Token = "0x600035A")]
|
||||
[Address(Slot = "2")]
|
||||
byte[] Decrypt(byte[] data, int offset, int len, out int outLen, bool ivPrefix = true);
|
||||
|
||||
// Token: 0x0600035B RID: 859
|
||||
[Token(Token = "0x600035B")]
|
||||
[Address(Slot = "3")]
|
||||
byte[] CreateHMAC(byte[] data, int offset, int count);
|
||||
|
||||
// Token: 0x0600035C RID: 860
|
||||
[Token(Token = "0x600035C")]
|
||||
[Address(Slot = "4")]
|
||||
bool CheckHMAC(byte[] data, int len);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user