C# Class Volante.Rc4File

Inheritance: Volante.OsFile
Afficher le fichier Open project: kjk/volante Class Usage Examples

Méthodes publiques

Méthode Description
Rc4File ( String filePath, String key ) : System
Rc4File ( String filePath, String key, bool readOnly ) : System
Read ( long pos, byte buf ) : int
Write ( long pos, byte buf ) : void

Private Methods

Méthode Description
decrypt ( byte cipherText, int cipherOff, byte clearText, int clearOff, int len ) : void
encrypt ( byte clearText, int clearOff, byte cipherText, int cipherOff, int len ) : void
nextState ( ) : int
setKey ( String key ) : void

Method Details

Rc4File() public méthode

public Rc4File ( String filePath, String key ) : System
filePath String
key String
Résultat System

Rc4File() public méthode

public Rc4File ( String filePath, String key, bool readOnly ) : System
filePath String
key String
readOnly bool
Résultat System

Read() public méthode

public Read ( long pos, byte buf ) : int
pos long
buf byte
Résultat int

Write() public méthode

public Write ( long pos, byte buf ) : void
pos long
buf byte
Résultat void