C# Class AcTools.AcdFile.AcdEncryption

Show file Open project: gro-ove/actools Class Usage Examples

Public Properties

Property Type Description
Id string
Key string

Public Methods

Method Description
AcdEncryption ( string id ) : System
CreateKey ( string s ) : string
Decrypt ( int data, int position ) : byte
Decrypt ( byte data ) : void
Encrypt ( byte data, int position ) : int
Encrypt ( byte data ) : void
FromAcdFilename ( string acdFilename ) : AcdEncryption

Method Details

AcdEncryption() public method

public AcdEncryption ( string id ) : System
id string
return System

CreateKey() public static method

public static CreateKey ( string s ) : string
s string
return string

Decrypt() public method

public Decrypt ( int data, int position ) : byte
data int
position int
return byte

Decrypt() public method

public Decrypt ( byte data ) : void
data byte
return void

Encrypt() public method

public Encrypt ( byte data, int position ) : int
data byte
position int
return int

Encrypt() public method

public Encrypt ( byte data ) : void
data byte
return void

FromAcdFilename() public static method

public static FromAcdFilename ( string acdFilename ) : AcdEncryption
acdFilename string
return AcdEncryption

Property Details

Id public property

public string Id
return string

Key public property

public string Key
return string