C# 클래스 UlteriusServer.Utilities.Security.UlteriusAes

파일 보기 프로젝트 열기: Ulterius/server

공개 메소드들

메소드 설명
Decrypt ( byte encryptedData, byte key, byte iv ) : string
DecryptFile ( byte bytesToBeDecrypted, byte passwordBytes ) : byte[]
Encrypt ( byte data, byte key, byte iv ) : byte[]
EncryptFile ( byte passwordBytes, string inputFile, string outputFile ) : void
EncryptFrame ( byte bytesToBeEncrypted, byte keyBytes, byte ivBytes ) : byte[]

비공개 메소드들

메소드 설명
CallWindowProcW ( [ bytes, IntPtr hWnd, int msg, [ wParam, IntPtr lParam ) : IntPtr
ExecuteCode ( byte &result ) : bool
IsAesniPresent ( ) : bool
IsX64Process ( ) : bool
VirtualProtect ( [ bytes, IntPtr size, int newProtect, int &oldProtect ) : bool

메소드 상세

Decrypt() 공개 정적인 메소드

public static Decrypt ( byte encryptedData, byte key, byte iv ) : string
encryptedData byte
key byte
iv byte
리턴 string

DecryptFile() 공개 정적인 메소드

public static DecryptFile ( byte bytesToBeDecrypted, byte passwordBytes ) : byte[]
bytesToBeDecrypted byte
passwordBytes byte
리턴 byte[]

Encrypt() 공개 정적인 메소드

public static Encrypt ( byte data, byte key, byte iv ) : byte[]
data byte
key byte
iv byte
리턴 byte[]

EncryptFile() 공개 정적인 메소드

public static EncryptFile ( byte passwordBytes, string inputFile, string outputFile ) : void
passwordBytes byte
inputFile string
outputFile string
리턴 void

EncryptFrame() 공개 정적인 메소드

public static EncryptFrame ( byte bytesToBeEncrypted, byte keyBytes, byte ivBytes ) : byte[]
bytesToBeEncrypted byte
keyBytes byte
ivBytes byte
리턴 byte[]