C# 클래스 Renci.SshNet.Security.Cryptography.Ciphers.Paddings.PKCS5Padding

Implements PKCS5 cipher padding
상속: CipherPadding
파일 보기 프로젝트 열기: sshnet/SSH.NET 1 사용 예제들

공개 메소드들

메소드 설명
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, 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 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, int offset, int length ) : byte[]
blockSize int The 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[]