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

Base class for cipher implementation.
파일 보기 프로젝트 열기: sshnet/SSH.NET

공개 메소드들

메소드 설명
Decrypt ( byte input ) : byte[]

Decrypts the specified input.

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

Decrypts the specified input.

Encrypt ( byte input ) : byte[]

Encrypts the specified input.

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

Encrypts the specified input.

보호된 메소드들

메소드 설명
BigEndianToUInt32 ( byte buffer ) : uint

Converts big endian bytes into number.

BigEndianToUInt32 ( byte buffer, int offset ) : uint

Converts big endian bytes into number.

BigEndianToUInt64 ( byte buffer ) : ulong

Converts big endian bytes into number.

BigEndianToUInt64 ( byte buffer, int offset ) : ulong

Converts big endian bytes into number.

LittleEndianToUInt32 ( byte buffer ) : uint

Converts little endian bytes into number.

LittleEndianToUInt32 ( byte buffer, int offset ) : uint

Converts little endian bytes into number.

LittleEndianToUInt64 ( byte buffer ) : ulong

Converts little endian bytes into number.

LittleEndianToUInt64 ( byte buffer, int offset ) : ulong

Converts little endian bytes into number.

UInt32ToBigEndian ( uint number, byte buffer ) : void

Populates buffer with big endian number representation.

UInt32ToBigEndian ( uint number, byte buffer, int offset ) : void

Populates buffer with big endian number representation.

UInt32ToLittleEndian ( uint number, byte buffer ) : void

Populates buffer with little endian number representation.

UInt32ToLittleEndian ( uint number, byte buffer, int offset ) : void

Populates buffer with little endian number representation.

UInt64ToBigEndian ( ulong number, byte buffer ) : void

Populates buffer with big endian number representation.

UInt64ToBigEndian ( ulong number, byte buffer, int offset ) : void

Populates buffer with big endian number representation.

UInt64ToLittleEndian ( ulong number, byte buffer ) : void

Populates buffer with little endian number representation.

UInt64ToLittleEndian ( ulong number, byte buffer, int offset ) : void

Populates buffer with little endian number representation.

메소드 상세

BigEndianToUInt32() 보호된 정적인 메소드

Converts big endian bytes into number.
protected static BigEndianToUInt32 ( byte buffer ) : uint
buffer byte The buffer.
리턴 uint

BigEndianToUInt32() 보호된 정적인 메소드

Converts big endian bytes into number.
protected static BigEndianToUInt32 ( byte buffer, int offset ) : uint
buffer byte The buffer.
offset int The buffer offset.
리턴 uint

BigEndianToUInt64() 보호된 정적인 메소드

Converts big endian bytes into number.
protected static BigEndianToUInt64 ( byte buffer ) : ulong
buffer byte The buffer.
리턴 ulong

BigEndianToUInt64() 보호된 정적인 메소드

Converts big endian bytes into number.
protected static BigEndianToUInt64 ( byte buffer, int offset ) : ulong
buffer byte The buffer.
offset int The buffer offset.
리턴 ulong

Decrypt() 공개 추상적인 메소드

Decrypts the specified input.
public abstract Decrypt ( byte input ) : byte[]
input byte The input.
리턴 byte[]

Decrypt() 공개 추상적인 메소드

Decrypts the specified input.
public abstract Decrypt ( byte input, int offset, int length ) : byte[]
input 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 input.
public Encrypt ( byte input ) : byte[]
input byte The input.
리턴 byte[]

Encrypt() 공개 추상적인 메소드

Encrypts the specified input.
public abstract Encrypt ( byte input, int offset, int length ) : byte[]
input byte The input.
offset int The zero-based offset in at which to begin encrypting.
length int The number of bytes to encrypt from .
리턴 byte[]

LittleEndianToUInt32() 보호된 정적인 메소드

Converts little endian bytes into number.
protected static LittleEndianToUInt32 ( byte buffer ) : uint
buffer byte The buffer.
리턴 uint

LittleEndianToUInt32() 보호된 정적인 메소드

Converts little endian bytes into number.
protected static LittleEndianToUInt32 ( byte buffer, int offset ) : uint
buffer byte The buffer.
offset int The buffer offset.
리턴 uint

LittleEndianToUInt64() 보호된 정적인 메소드

Converts little endian bytes into number.
protected static LittleEndianToUInt64 ( byte buffer ) : ulong
buffer byte The buffer.
리턴 ulong

LittleEndianToUInt64() 보호된 정적인 메소드

Converts little endian bytes into number.
protected static LittleEndianToUInt64 ( byte buffer, int offset ) : ulong
buffer byte The buffer.
offset int The buffer offset.
리턴 ulong

UInt32ToBigEndian() 보호된 정적인 메소드

Populates buffer with big endian number representation.
protected static UInt32ToBigEndian ( uint number, byte buffer ) : void
number uint The number to convert.
buffer byte The buffer.
리턴 void

UInt32ToBigEndian() 보호된 정적인 메소드

Populates buffer with big endian number representation.
protected static UInt32ToBigEndian ( uint number, byte buffer, int offset ) : void
number uint The number to convert.
buffer byte The buffer.
offset int The buffer offset.
리턴 void

UInt32ToLittleEndian() 보호된 정적인 메소드

Populates buffer with little endian number representation.
protected static UInt32ToLittleEndian ( uint number, byte buffer ) : void
number uint The number to convert.
buffer byte The buffer.
리턴 void

UInt32ToLittleEndian() 보호된 정적인 메소드

Populates buffer with little endian number representation.
protected static UInt32ToLittleEndian ( uint number, byte buffer, int offset ) : void
number uint The number to convert.
buffer byte The buffer.
offset int The buffer offset.
리턴 void

UInt64ToBigEndian() 보호된 정적인 메소드

Populates buffer with big endian number representation.
protected static UInt64ToBigEndian ( ulong number, byte buffer ) : void
number ulong The number to convert.
buffer byte The buffer.
리턴 void

UInt64ToBigEndian() 보호된 정적인 메소드

Populates buffer with big endian number representation.
protected static UInt64ToBigEndian ( ulong number, byte buffer, int offset ) : void
number ulong The number to convert.
buffer byte The buffer.
offset int The buffer offset.
리턴 void

UInt64ToLittleEndian() 보호된 정적인 메소드

Populates buffer with little endian number representation.
protected static UInt64ToLittleEndian ( ulong number, byte buffer ) : void
number ulong The number to convert.
buffer byte The buffer.
리턴 void

UInt64ToLittleEndian() 보호된 정적인 메소드

Populates buffer with little endian number representation.
protected static UInt64ToLittleEndian ( ulong number, byte buffer, int offset ) : void
number ulong The number to convert.
buffer byte The buffer.
offset int The buffer offset.
리턴 void