PBKDF2的加密 public class PasswordEncryption { public static final String PBKDF2_ALGORITHM = "PBKDF2WithHmacSHA1"; /** * 盐的长度 */ public static final int SALT_BYTE_SIZE = 32 / 2; /** * 生成密文的长度 */... java 2024-10-12 31 点赞 0 评论 46 浏览