对比新文件 |
| | |
| | | package org.springblade.core.api.crypto.annotation.decrypt; |
| | | |
| | | import org.springblade.core.api.crypto.enums.CryptoType; |
| | | import org.springframework.core.annotation.AliasFor; |
| | | |
| | | import java.lang.annotation.*; |
| | | |
| | | /** |
| | | * des 瑙e瘑 |
| | | * |
| | | * @author licoy.cn |
| | | * @see ApiDecrypt |
| | | */ |
| | | @Target({ElementType.TYPE, ElementType.METHOD, ElementType.PARAMETER}) |
| | | @Retention(RetentionPolicy.RUNTIME) |
| | | @Documented |
| | | @ApiDecrypt(CryptoType.DES) |
| | | public @interface ApiDecryptDes { |
| | | |
| | | /** |
| | | * Alias for {@link ApiDecrypt#secretKey()}. |
| | | * |
| | | * @return {String} |
| | | */ |
| | | @AliasFor(annotation = ApiDecrypt.class) |
| | | String secretKey() default ""; |
| | | |
| | | } |