C# Class SKGL.Plus.methods

Inheritance: SerialKeyConfiguration
Datei anzeigen Open project: SerialKeyManager/SKGL Class Usage Examples

Protected Methods

Method Description
_decText ( string _encryptedPhase, string _secretPhase ) : string
_decrypt ( string _key, string _secretPhase ) : string
_encText ( string _inputPhase, string _secretPhase ) : string
_encrypt ( int _users, int _days, bool _tfg, string _secretPhase, int ID, System _creationDate, int _assets, int _concurrentUsers ) : string
base10ToBase36 ( string s ) : string
base36ToBase10 ( string s ) : string
booleanToInt ( bool _booleanArray ) : int
getEightByteHash ( string s, int MUST_BE_LESS_THAN = 1000000000 ) : int
intToBoolean ( int _num ) : bool[]
modulo ( int _num, int _base ) : int
powof ( int x, int y ) : System.Numerics.BigInteger
twentyfiveByteHash ( string s ) : string

Method Details

_decText() protected method

protected _decText ( string _encryptedPhase, string _secretPhase ) : string
_encryptedPhase string
_secretPhase string
return string

_decrypt() protected method

protected _decrypt ( string _key, string _secretPhase ) : string
_key string
_secretPhase string
return string

_encText() protected method

protected _encText ( string _inputPhase, string _secretPhase ) : string
_inputPhase string
_secretPhase string
return string

_encrypt() protected method

protected _encrypt ( int _users, int _days, bool _tfg, string _secretPhase, int ID, System _creationDate, int _assets, int _concurrentUsers ) : string
_users int
_days int
_tfg bool
_secretPhase string
ID int
_creationDate System
_assets int
_concurrentUsers int
return string

base10ToBase36() protected method

protected base10ToBase36 ( string s ) : string
s string
return string

base36ToBase10() protected method

protected base36ToBase10 ( string s ) : string
s string
return string

booleanToInt() protected method

protected booleanToInt ( bool _booleanArray ) : int
_booleanArray bool
return int

getEightByteHash() protected method

protected getEightByteHash ( string s, int MUST_BE_LESS_THAN = 1000000000 ) : int
s string
MUST_BE_LESS_THAN int
return int

intToBoolean() protected method

protected intToBoolean ( int _num ) : bool[]
_num int
return bool[]

modulo() protected method

protected modulo ( int _num, int _base ) : int
_num int
_base int
return int

powof() protected method

protected powof ( int x, int y ) : System.Numerics.BigInteger
x int
y int
return System.Numerics.BigInteger

twentyfiveByteHash() protected method

protected twentyfiveByteHash ( string s ) : string
s string
return string