Package com.uc4.util
Class C1
- java.lang.Object
-
- com.uc4.util.C1
-
@Deprecated public class C1 extends java.lang.Object
Deprecated.since 23.0.0 use RC4 insteadOnly used for compatibility with old RA agents in 23. Do not import this class! This class is used for encryption.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
encrypt(java.lang.String valString, boolean toHexString)
Deprecated.Encryptionstatic C1
getRC4Instance(java.lang.String key)
Deprecated.Returns a RC4 instance
-
-
-
Method Detail
-
getRC4Instance
public static C1 getRC4Instance(java.lang.String key)
Deprecated.Returns a RC4 instance- Parameters:
key
- String containing a key- Returns:
- RC4
-
encrypt
public java.lang.String encrypt(java.lang.String valString, boolean toHexString)
Deprecated.Encryption- Parameters:
valString
- value StringtoHexString
- true if the output should be a Hex string- Returns:
- encrypted String
-
-