ludc
2023-03-16 86b6157299a50579f454e4fb45a09ff21d252dab
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package org.springblade.core.api.crypto.annotation.encrypt;
 
import org.springblade.core.api.crypto.enums.CryptoType;
import org.springframework.core.annotation.AliasFor;
 
import java.lang.annotation.*;
 
/**
 * aes 加密
 *
 * @author licoy.cn, L.cm
 * @see ApiEncrypt
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@ApiEncrypt(CryptoType.AES)
public @interface ApiEncryptAes {
 
    /**
     * Alias for {@link ApiEncrypt#secretKey()}.
     *
     * @return {String}
     */
    @AliasFor(annotation = ApiEncrypt.class)
    String secretKey() default "";
 
}