C# Class nskein.Threefish

Afficher le fichier Open project: sriramk/nskein Class Usage Examples

Private Properties

Свойство Type Description
Mix void
SetSubKeyPerSchedule void

Méthodes publiques

Méthode Description
Encrypt ( System.UInt64 plainText, System.UInt64 cipherText ) : void
Threefish ( System.UInt64 key, Tweak tweak, ThreeFishBlockSize blockSize ) : System

Private Methods

Méthode Description
Mix ( System.UInt64 x0, System.UInt64 x1, UInt32 j, UInt32 d, System.UInt64 &y0, System.UInt64 &y1 ) : void
SetSubKeyPerSchedule ( UInt32 currentRound ) : void

Method Details

Encrypt() public méthode

public Encrypt ( System.UInt64 plainText, System.UInt64 cipherText ) : void
plainText System.UInt64
cipherText System.UInt64
Résultat void

Threefish() public méthode

public Threefish ( System.UInt64 key, Tweak tweak, ThreeFishBlockSize blockSize ) : System
key System.UInt64
tweak Tweak
blockSize ThreeFishBlockSize
Résultat System