프로퍼티 | 타입 | 설명 | |
---|---|---|---|
CipherInfo | Shadowsocks.Encryption.EncryptorInfo | ||
_cipher | int | ||
_decryptIV | byte[] | ||
_decryptIVReceived | bool | ||
_encryptIV | byte[] | ||
_encryptIVSent | bool | ||
_innerLibName | string | ||
_key | byte[] | ||
_method | string | ||
ciphers | EncryptorInfo>.Dictionary | ||
ivLen | int | ||
keyLen | int | ||
tempbuf | byte[] |
메소드 | 설명 | |
---|---|---|
Decrypt ( byte buf, int length, byte outbuf, int &outlength ) : void | ||
Encrypt ( byte buf, int length, byte outbuf, int &outlength ) : void | ||
IVEncryptor ( string method, string password, bool onetimeauth, bool isudp ) : System |
메소드 | 설명 | |
---|---|---|
OtaGetHeadLen ( byte buf, int length ) : int | ||
bytesToKey ( byte password, byte key ) : void | ||
cipherUpdate ( bool isCipher, int length, byte buf, byte outbuf ) : void | ||
getCiphers ( ) : EncryptorInfo>.Dictionary |
||
initCipher ( byte iv, bool isCipher ) : void | ||
randBytes ( byte buf, int length ) : void |
메소드 | 설명 | |
---|---|---|
InitKey ( string method, string password ) : void | ||
OtaAuthBuffer ( byte buf, int &length ) : void | ||
OtaAuthBuffer4Tcp ( byte buf, int &length ) : void | ||
OtaAuthBuffer4Udp ( byte buf, int &length ) : void | ||
OtaGenChunkHash ( byte buf, int offset, int len ) : byte[] | ||
OtaGenHash ( byte msg, int msg_len ) : byte[] | ||
OtaUpdateKeyBuffer ( ) : void |
public Decrypt ( byte buf, int length, byte outbuf, int &outlength ) : void | ||
buf | byte | |
length | int | |
outbuf | byte | |
outlength | int | |
리턴 | void |
public Encrypt ( byte buf, int length, byte outbuf, int &outlength ) : void | ||
buf | byte | |
length | int | |
outbuf | byte | |
outlength | int | |
리턴 | void |
public IVEncryptor ( string method, string password, bool onetimeauth, bool isudp ) : System | ||
method | string | |
password | string | |
onetimeauth | bool | |
isudp | bool | |
리턴 | System |
protected OtaGetHeadLen ( byte buf, int length ) : int | ||
buf | byte | |
length | int | |
리턴 | int |
protected bytesToKey ( byte password, byte key ) : void | ||
password | byte | |
key | byte | |
리턴 | void |
protected abstract cipherUpdate ( bool isCipher, int length, byte buf, byte outbuf ) : void | ||
isCipher | bool | |
length | int | |
buf | byte | |
outbuf | byte | |
리턴 | void |
protected abstract getCiphers ( ) : EncryptorInfo>.Dictionary |
||
리턴 | EncryptorInfo>.Dictionary |
protected initCipher ( byte iv, bool isCipher ) : void | ||
iv | byte | |
isCipher | bool | |
리턴 | void |
protected static randBytes ( byte buf, int length ) : void | ||
buf | byte | |
length | int | |
리턴 | void |
protected EncryptorInfo,Shadowsocks.Encryption CipherInfo | ||
리턴 | Shadowsocks.Encryption.EncryptorInfo |