Property | Type | Description | |
---|---|---|---|
kBlockSize | int |
Method | Description | |
---|---|---|
Create ( EncryptionType type ) : Encryptor | ||
Create ( string name ) : Encryptor | ||
Decrypt ( ArraySegment |
||
Encrypt ( ArraySegment |
||
Handshake ( string in_header, string &out_header ) : bool |
Method | Description | |
---|---|---|
CircularLeftShift ( |
||
CircularLeftShift ( byte value, int shift_len ) : byte | ||
Encryptor ( EncryptionType encryption, string encryption_name, State initial_state ) : UnityEngine | ||
SetState ( State state ) : void |
protected static CircularLeftShift ( |
||
value | ||
shift_len | int | |
return |
protected static CircularLeftShift ( byte value, int shift_len ) : byte | ||
value | byte | |
shift_len | int | |
return | byte |
public static Create ( EncryptionType type ) : Encryptor | ||
type | EncryptionType | |
return | Encryptor |
public static Create ( string name ) : Encryptor | ||
name | string | |
return | Encryptor |
public abstract Decrypt ( ArraySegment |
||
src | ArraySegment |
|
dst | ArraySegment |
|
in_header | string | |
return | System.Int64 |
public abstract Encrypt ( ArraySegment |
||
src | ArraySegment |
|
dst | ArraySegment |
|
out_header | string | |
return | System.Int64 |
protected Encryptor ( EncryptionType encryption, string encryption_name, State initial_state ) : UnityEngine | ||
encryption | EncryptionType | |
encryption_name | string | |
initial_state | State | |
return | UnityEngine |
public Handshake ( string in_header, string &out_header ) : bool | ||
in_header | string | |
out_header | string | |
return | bool |