public static sbyte[] Hex2Byte(string hex)
 {
     try
     {
         return(CommCryptUtil.HexStr2Byte(hex));
     }
     catch (Exception ex)
     {
         Log.Error("EncodeUtil", ex.Message);
         throw;
     }
 }
 public static sbyte[] GenerateSecureRandomByte(int byteSize)
 {
     return(CommCryptUtil.GenSecureRandomByte(byteSize));
 }
 public static string Byte2Hex(sbyte[] array)
 {
     return(CommCryptUtil.Byte2HexStr(array));
 }