C# Class Granados.Algorithms.Blowfish

Blowfish
ファイルを表示 Open project: poderosaproject/poderosa Class Usage Examples

Protected Properties

Property Type Description
P uint[]
S0 uint[]
S1 uint[]
S2 uint[]
S3 uint[]

Public Methods

Method Description
BlockDecrypt ( byte input, int inOffset, byte output, int outOffset ) : void
BlockEncrypt ( byte input, int inOffset, byte output, int outOffset ) : void
Blowfish ( ) : System
DecryptCBC ( byte input, int inputOffset, int inputLen, byte output, int outputOffset ) : void
DecryptSSH1Style ( byte src, int srcOff, int len, byte dest, int destOff ) : void
EncryptCBC ( byte input, int inputOffset, int inputLen, byte output, int outputOffset ) : void
EncryptSSH1Style ( byte src, int srcOff, int len, byte dest, int destOff ) : void
InitializeKey ( byte key ) : void
SetIV ( byte newiv ) : void

Private Methods

Method Description
ExpandState ( byte key ) : void
ExpandState ( byte key, byte data ) : void
InitializeState ( ) : void
Test ( ) : void

Method Details

BlockDecrypt() public method

public BlockDecrypt ( byte input, int inOffset, byte output, int outOffset ) : void
input byte
inOffset int
output byte
outOffset int
return void

BlockEncrypt() public method

public BlockEncrypt ( byte input, int inOffset, byte output, int outOffset ) : void
input byte
inOffset int
output byte
outOffset int
return void

Blowfish() public method

public Blowfish ( ) : System
return System

DecryptCBC() public method

public DecryptCBC ( byte input, int inputOffset, int inputLen, byte output, int outputOffset ) : void
input byte
inputOffset int
inputLen int
output byte
outputOffset int
return void

DecryptSSH1Style() public method

public DecryptSSH1Style ( byte src, int srcOff, int len, byte dest, int destOff ) : void
src byte
srcOff int
len int
dest byte
destOff int
return void

EncryptCBC() public method

public EncryptCBC ( byte input, int inputOffset, int inputLen, byte output, int outputOffset ) : void
input byte
inputOffset int
inputLen int
output byte
outputOffset int
return void

EncryptSSH1Style() public method

public EncryptSSH1Style ( byte src, int srcOff, int len, byte dest, int destOff ) : void
src byte
srcOff int
len int
dest byte
destOff int
return void

InitializeKey() public method

public InitializeKey ( byte key ) : void
key byte
return void

SetIV() public method

public SetIV ( byte newiv ) : void
newiv byte
return void

Property Details

P protected_oe property

protected uint[] P
return uint[]

S0 protected_oe property

protected uint[] S0
return uint[]

S1 protected_oe property

protected uint[] S1
return uint[]

S2 protected_oe property

protected uint[] S2
return uint[]

S3 protected_oe property

protected uint[] S3
return uint[]