Class TransportCipher
java.lang.Object
com.biglybt.core.networkmanager.impl.TransportCipher
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTransportCipher
(String algorithm, int mode, SecretKeySpec key_spec) TransportCipher
(String algorithm, int mode, SecretKeySpec key_spec, AlgorithmParameterSpec params) -
Method Summary
Modifier and TypeMethodDescriptiongetName()
protected byte[]
update
(byte[] data) protected byte[]
update
(byte[] data, int offset, int length) protected void
update
(ByteBuffer source_buffer, ByteBuffer target_buffer)
-
Field Details
-
internal_rc4
private static boolean internal_rc4 -
cipher
-
rc4_engine
-
-
Constructor Details
-
TransportCipher
public TransportCipher(String algorithm, int mode, SecretKeySpec key_spec, AlgorithmParameterSpec params) throws Exception - Throws:
Exception
-
TransportCipher
TransportCipher(String algorithm, int mode, SecretKeySpec key_spec) throws Exception - Throws:
Exception
-
-
Method Details
-
update
protected byte[] update(byte[] data) -
update
protected byte[] update(byte[] data, int offset, int length) -
update
- Throws:
IOException
-
getName
-