C# Класс Renci.SshNet.Security.Cryptography.BlockCipher

Base class for block cipher implementations.
Наследование: SymmetricCipher
Показать файл Открыть проект

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

Метод Описание
Decrypt ( byte data ) : byte[]

Decrypts the specified data.

Decrypt ( byte data, int offset, int length ) : byte[]

Decrypts the specified input.

Encrypt ( byte data, int offset, int length ) : byte[]

Encrypts the specified data.

Защищенные методы

Метод Описание
BlockCipher ( byte key, byte blockSize, CipherMode mode, CipherPadding padding ) : System

Initializes a new instance of the BlockCipher class.

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

BlockCipher() защищенный Метод

Initializes a new instance of the BlockCipher class.
is null.
protected BlockCipher ( byte key, byte blockSize, CipherMode mode, CipherPadding padding ) : System
key byte The key.
blockSize byte Size of the block.
mode Renci.SshNet.Security.Cryptography.Ciphers.CipherMode Cipher mode.
padding Renci.SshNet.Security.Cryptography.Ciphers.CipherPadding Cipher padding.
Результат System

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

Decrypts the specified data.
public Decrypt ( byte data ) : byte[]
data byte The data.
Результат byte[]

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

Decrypts the specified input.
public Decrypt ( byte data, int offset, int length ) : byte[]
data byte The input.
offset int The zero-based offset in at which to begin decrypting.
length int The number of bytes to decrypt from .
Результат byte[]

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

Encrypts the specified data.
public Encrypt ( byte data, int offset, int length ) : byte[]
data byte The data.
offset int The zero-based offset in at which to begin encrypting.
length int The number of bytes to encrypt from .
Результат byte[]