Package com.uc4.util

Class C1


  • @Deprecated
    public class C1
    extends java.lang.Object
    Deprecated.
    since 23.0.0 use RC4 instead
    Only 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.
      Encryption
      static C1 getRC4Instance​(java.lang.String key)
      Deprecated.
      Returns a RC4 instance
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 String
        toHexString - true if the output should be a Hex string
        Returns:
        encrypted String