Class CryptoHelper


  • public final class CryptoHelper
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] decode​(byte[] pText, java.lang.String pKey)  
      static void decodeOrig​(byte[] pText, java.lang.String pKey)  
      static byte[] encode​(byte[] txt, java.lang.String pKey)  
      static void encodeOrig​(byte[] txt, java.lang.String pKey)  
      static java.lang.String randomToken​(int depth)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • encode

        public static byte[] encode​(byte[] txt,
                                    java.lang.String pKey)
      • decode

        public static byte[] decode​(byte[] pText,
                                    java.lang.String pKey)
      • encodeOrig

        public static void encodeOrig​(byte[] txt,
                                      java.lang.String pKey)
      • decodeOrig

        public static void decodeOrig​(byte[] pText,
                                      java.lang.String pKey)
      • randomToken

        public static java.lang.String randomToken​(int depth)