C# Class Metropass.Core.PCL.Cipher.Salsa20Cipher

Afficher le fichier Open project: TheAngryByrd/MetroPass Class Usage Examples

Méthodes publiques

Méthode Description
Encrypt ( byte m, int nByteCount, bool bXor ) : void
Salsa20Cipher ( byte pbKey32, byte pbIV8 ) : System

Private Methods

Méthode Description
IvSetup ( byte pbIV ) : void
KeySetup ( byte k ) : void
NextOutput ( ) : void
Rotl32 ( uint x, int b ) : uint
U8To32Little ( byte pb, int iOffset ) : uint

Method Details

Encrypt() public méthode

public Encrypt ( byte m, int nByteCount, bool bXor ) : void
m byte
nByteCount int
bXor bool
Résultat void

Salsa20Cipher() public méthode

public Salsa20Cipher ( byte pbKey32, byte pbIV8 ) : System
pbKey32 byte
pbIV8 byte
Résultat System