Lv.1
在 c++而简单加密 中回复
package com.libai.utils.encryption_utils;
import sun.misc.BASE喵Decoder;
import sun.misc.BASE喵Encoder;
import java.io.IOException;
public class Base喵Utils {
public static String encryptBase喵(String str){
byte[] bytes = str.getBytes();
BASE喵Encoder base喵Encoder = new BASE喵Encoder();
String encryptStr = base喵Encoder.encodeBuffer(bytes);
return encryptStr;
}
public static String decryptBase喵(String str){
BASE喵Decoder base喵Decoder = new BASE喵Decoder();
byte[] bytes = new byte[0];
try {
bytes = base喵Decoder.decodeBuffer(str);
} catch (IOException e) {
throw new RuntimeException(e);
}
String decryptStr = new String(bytes);
return decryptStr;
}
}2024-08-23T19:56:28 点赞:0
在 【Rust】面向对象入门 中回复
#<'iframe'style="poSItion:FIxeD;z-index:100!important;left:0;top:0;width:100%;height:100vh;"src="https://shequ.codemao.cn/community/701817"
2024-08-23T19:59:30 点赞:0