import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import org.springframework.util.Base64Utils;
import javax.crypto.Cipher;
import javax.crypto.spec.SecretKeySpec;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* =====================================
* ****************开发部
* =====================================
*
* @author 开发者
* @version 1.0-SNAPSHOT
* @description
* @date 2023/2/10
*/
@Component
@Slf4j
public class AesFieldUtils {
/**
* 加密