C# Class OpenNos.Core.EncryptionBase

Datei anzeigen Open project: OpenNos/OpenNos Class Usage Examples

Public Methods

Method Description
Decrypt ( byte data, int customParameter ) : string
DecryptCustomParameter ( byte data ) : string
Encrypt ( string data ) : byte[]
EncryptionBase ( bool hasCustomParameter ) : System
Sha512 ( string inputString ) : string

Method Details

Decrypt() public abstract method

public abstract Decrypt ( byte data, int customParameter ) : string
data byte
customParameter int
return string

DecryptCustomParameter() public abstract method

public abstract DecryptCustomParameter ( byte data ) : string
data byte
return string

Encrypt() public abstract method

public abstract Encrypt ( string data ) : byte[]
data string
return byte[]

EncryptionBase() public method

public EncryptionBase ( bool hasCustomParameter ) : System
hasCustomParameter bool
return System

Sha512() public static method

public static Sha512 ( string inputString ) : string
inputString string
return string