C# Класс Org.BouncyCastle.Crypto.Engines.IdeaEngine

Наследование: IBlockCipher
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetBlockSize ( ) : int
IdeaEngine ( ) : System
Init ( bool forEncryption, ICipherParameters parameters ) : void
ProcessBlock ( byte input, int inOff, byte output, int outOff ) : int
Reset ( ) : void

Приватные методы

Метод Описание
AddInv ( int x ) : int
BytesToWord ( byte input, int inOff ) : int
ExpandKey ( byte uKey ) : int[]
GenerateWorkingKey ( bool forEncryption, byte userKey ) : int[]
IdeaFunc ( int workingKey, byte input, int inOff, byte outBytes, int outOff ) : void
InvertKey ( int inKey ) : int[]
Mul ( int x, int y ) : int
MulInv ( int x ) : int
WordToBytes ( int word, byte outBytes, int outOff ) : void

Описание методов

GetBlockSize() публичный Метод

public GetBlockSize ( ) : int
Результат int

IdeaEngine() публичный Метод

public IdeaEngine ( ) : System
Результат System

Init() публичный Метод

public Init ( bool forEncryption, ICipherParameters parameters ) : void
forEncryption bool
parameters ICipherParameters
Результат void

ProcessBlock() публичный Метод

public ProcessBlock ( byte input, int inOff, byte output, int outOff ) : int
input byte
inOff int
output byte
outOff int
Результат int

Reset() публичный Метод

public Reset ( ) : void
Результат void