C# Class nskein.Threefish

ファイルを表示 Open project: sriramk/nskein Class Usage Examples

Private Properties

Property Type Description
Mix void
SetSubKeyPerSchedule void

Public Methods

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

Private Methods

Method 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 method

public Encrypt ( System.UInt64 plainText, System.UInt64 cipherText ) : void
plainText System.UInt64
cipherText System.UInt64
return void

Threefish() public method

public Threefish ( System.UInt64 key, Tweak tweak, ThreeFishBlockSize blockSize ) : System
key System.UInt64
tweak Tweak
blockSize ThreeFishBlockSize
return System