C# 클래스 Renci.SshNet.Security.Cryptography.BlockCipher

Base class for block cipher implementations.
상속: SymmetricCipher
파일 보기 프로젝트 열기: sshnet/SSH.NET

공개 메소드들

메소드 설명
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[]