RageLib.GTA5.Cryptography.GTA5Crypto - indilo53/gta-toolkit GitHub Wiki

Represents a GTA5 encryption algorithm.

namespace: RageLib.GTA5.Cryptography

Inheritance Hierarchy

Syntax

public class GTA5Crypto : IEncryptionAlgorithm

Constructors

:white_large_square: prototype description

Properties

:white_large_square: name description
property Key __

Methods

:white_large_square: prototype description
method [] Decrypt(byte[] data) Decrypts data.
method [] Decrypt(byte[] data, byte[] key) __
method [] DecryptAES(byte[] data) __
method [] DecryptAESData(byte[] data, byte[] key, int rounds=1) __
method [] DecryptBlock(byte[] data, uint[] key) __
method [] DecryptNG(byte[] data, string name, uint length) __
method [] DecryptRoundA(byte[] data, uint[] key, uint[][] table) __
method [] DecryptRoundB(byte[] data, uint[] key, uint[][] table) __
method [] Encrypt(byte[] data) __
method [] Encrypt(byte[] data, byte[] key) __
method [] EncryptAES(byte[] data) __
method [] EncryptAESData(byte[] data, byte[] key, int rounds=1) __
method [] EncryptBlock(byte[] data, uint[] key) __
method [] EncryptRoundA(byte[] data, uint[] key, uint[][] table) __
method [] EncryptRoundA_LUT(byte[] dataOld, uint[] key, GTA5NGLUT[] lut) __
method [] EncryptRoundB_LUT(byte[] dataOld, uint[] key, GTA5NGLUT[] lut) __
method [] GetNGKey(string name, uint length) __

Events

:white_large_square: name description