C# Class GameRevision.GW2Emu.Common.Cryptography.CryptoUtils

Afficher le fichier Open project: puppt/GW2Emu

Méthodes publiques

Méthode Description
GetRandomBytes ( ) : byte[]
Hash ( byte buffer ) : byte[]
ToBytes ( uint uints ) : byte[]
ToUints ( byte bytes ) : uint[]
XOR ( byte value, byte key ) : byte[]

Private Methods

Méthode Description
ROL ( uint value, uint x ) : uint

Method Details

GetRandomBytes() public static méthode

public static GetRandomBytes ( ) : byte[]
Résultat byte[]

Hash() public static méthode

public static Hash ( byte buffer ) : byte[]
buffer byte
Résultat byte[]

ToBytes() public static méthode

public static ToBytes ( uint uints ) : byte[]
uints uint
Résultat byte[]

ToUints() public static méthode

public static ToUints ( byte bytes ) : uint[]
bytes byte
Résultat uint[]

XOR() public static méthode

public static XOR ( byte value, byte key ) : byte[]
value byte
key byte
Résultat byte[]