C# Class OpenRA.FileFormats.Blowfish

Afficher le fichier Open project: pchote/OpenRA Class Usage Examples

Méthodes publiques

Méthode Description
Blowfish ( byte key )
Decrypt ( uint data ) : uint[]
Encrypt ( uint data ) : uint[]

Private Methods

Méthode Description
ConvertBFtoF ( uint x ) : uint
Decrypt ( uint &a, uint &b ) : void
Encrypt ( uint &a, uint &b ) : void
Round ( uint &a, uint b, int n ) : void
RunCipher ( uint data, CipherFunc f ) : uint[]
S ( uint x, int i ) : uint
SwapBytes ( uint i ) : uint

Method Details

Blowfish() public méthode

public Blowfish ( byte key )
key byte

Decrypt() public méthode

public Decrypt ( uint data ) : uint[]
data uint
Résultat uint[]

Encrypt() public méthode

public Encrypt ( uint data ) : uint[]
data uint
Résultat uint[]