package com.example.demo.util;
/**
* @description: 16进制编码
* @create: 2020/05/14 21:21
**/
public class EncryptHexAndDecryptHex {
/** 字符编码. */
private static final String CHARSET = "UTF-8";
public static void main(String[] args) throws Exception{
byte[] b = "你好".getBytes(CHARSET);
String encryptHex = encryptHex(b);
System.out.println("encryptHex = " +
16进制编码
最新推荐文章于 2024-05-08 17:05:55 发布