Table of Contents

Class BufferedStreamCipher

Namespace
Enterprises.Org.BouncyCastle.Crypto
Assembly
Enterprises.BouncyCastle.Crypto.dll
public class BufferedStreamCipher : BufferedCipherBase, IBufferedCipher
Inheritance
BufferedStreamCipher
Implements
Inherited Members

Constructors

BufferedStreamCipher(IStreamCipher)

public BufferedStreamCipher(IStreamCipher cipher)

Parameters

cipher IStreamCipher

Properties

AlgorithmName

public override string AlgorithmName { get; }

Property Value

string

Methods

DoFinal()

public override byte[] DoFinal()

Returns

byte[]

DoFinal(byte[], int, int)

public override byte[] DoFinal(byte[] input, int inOff, int length)

Parameters

input byte[]
inOff int
length int

Returns

byte[]

GetBlockSize()

public override int GetBlockSize()

Returns

int

GetOutputSize(int)

public override int GetOutputSize(int inputLen)

Parameters

inputLen int

Returns

int

GetUpdateOutputSize(int)

public override int GetUpdateOutputSize(int inputLen)

Parameters

inputLen int

Returns

int

Init(bool, ICipherParameters)

public override void Init(bool forEncryption, ICipherParameters parameters)

Parameters

forEncryption bool
parameters ICipherParameters

ProcessByte(byte)

public override byte[] ProcessByte(byte input)

Parameters

input byte

Returns

byte[]

ProcessByte(byte, byte[], int)

public override int ProcessByte(byte input, byte[] output, int outOff)

Parameters

input byte
output byte[]
outOff int

Returns

int

ProcessBytes(byte[], int, int)

public override byte[] ProcessBytes(byte[] input, int inOff, int length)

Parameters

input byte[]
inOff int
length int

Returns

byte[]

ProcessBytes(byte[], int, int, byte[], int)

public override int ProcessBytes(byte[] input, int inOff, int length, byte[] output, int outOff)

Parameters

input byte[]
inOff int
length int
output byte[]
outOff int

Returns

int

Reset()

public override void Reset()