C# Класс Renci.SshNet.Security.Cryptography.Ciphers.CipherPadding

Base class for cipher padding implementations
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Pad ( byte input, int paddinglength ) : byte[]

Pads the specified input with a given number of bytes.

Pad ( byte input, int offset, int length, int paddinglength ) : byte[]

Pads the specified input with a given number of bytes.

Pad ( int blockSize, byte input ) : byte[]

Pads the specified input to match the block size.

Pad ( int blockSize, byte input, int offset, int length ) : byte[]

Pads the specified input to match the block size.

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

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

Pads the specified input with a given number of bytes.
public Pad ( byte input, int paddinglength ) : byte[]
input byte The input.
paddinglength int The number of bytes to pad the input with.
Результат byte[]

Pad() публичный абстрактный Метод

Pads the specified input with a given number of bytes.
public abstract Pad ( byte input, int offset, int length, int paddinglength ) : byte[]
input byte The input.
offset int The zero-based offset in at which the data to pad starts.
length int The number of bytes in to take into account.
paddinglength int The number of bytes to pad the input with.
Результат byte[]

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

Pads the specified input to match the block size.
public Pad ( int blockSize, byte input ) : byte[]
blockSize int Size of the block.
input byte The input.
Результат byte[]

Pad() публичный абстрактный Метод

Pads the specified input to match the block size.
public abstract Pad ( int blockSize, byte input, int offset, int length ) : byte[]
blockSize int Size of the block.
input byte The input.
offset int The zero-based offset in at which the data to pad starts.
length int The number of bytes in to take into account.
Результат byte[]