xiejun
2024-11-01 80b6cbfc9c861469146318d0b3dd5f8b8b525b8a
Source/BladeX-Tool/blade-starter-api-crypto/src/main/java/org/springblade/core/api/crypto/annotation/encrypt/ApiEncryptDes.java
对比新文件
@@ -0,0 +1,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.*;
/**
 * des 鍔犲瘑
 *
 * @author licoy.cn, L.cm
 * @see ApiEncrypt
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@ApiEncrypt(CryptoType.DES)
public @interface ApiEncryptDes {
   /**
    * Alias for {@link ApiEncrypt#secretKey()}.
    *
    * @return {String}
    */
   @AliasFor(annotation = ApiEncrypt.class)
   String secretKey() default "";
}