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

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

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

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

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

Метод Описание
bytes2uint ( byte src, int offset ) : uint
camelliaF2 ( uint s, uint skey, int keyoff ) : void
camelliaFLs ( uint s, uint fkey, int keyoff ) : void
decroldq ( int rot, uint ki, int ioff, uint ko, int ooff ) : void
decroldqo32 ( int rot, uint ki, int ioff, uint ko, int ooff ) : void
lRot8 ( byte v, int rot ) : byte
leftRotate ( uint x, int s ) : uint
processBlock128 ( byte input, int inOff, byte output, int outOff ) : int
processBlock192or256 ( byte input, int inOff, byte output, int outOff ) : int
rightRotate ( uint x, int s ) : uint
roldq ( int rot, uint ki, int ioff, uint ko, int ooff ) : void
roldqo32 ( int rot, uint ki, int ioff, uint ko, int ooff ) : void
sbox2 ( int x ) : uint
sbox3 ( int x ) : uint
sbox4 ( int x ) : uint
setKey ( bool forEncryption, byte key ) : void
uint2bytes ( uint word, byte dst, int offset ) : void

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

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

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

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

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

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