Skip to content

Commit

Permalink
feat: add utility classes for Base64 and DigestUtils
Browse files Browse the repository at this point in the history
新增了基于commons-codec的Base64和DigestUtils工具类,同时更新了相关依赖配置以支持其功能。
  • Loading branch information
xooooooooox committed Dec 27, 2024
1 parent bfcdd5d commit b36e325
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# ChangeLog

## 0.4
## 0.4-SNAPSHOT

- [ ] dependency management shiro and jwt version
- [ ] add Utility classes for base64 and digest

## 0.3

Expand Down
4 changes: 4 additions & 0 deletions radp-components/radp-commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</dependency>

<!-- ===========================
序列化与反序列化
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package space.x9x.radp.commons.codec.binary;

import lombok.experimental.UtilityClass;

/**
* @author x9x
* @since 2024-12-27 16:25
*/
@UtilityClass
public class Base64 extends org.apache.commons.codec.binary.Base64 {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package space.x9x.radp.commons.codec.digest;

import lombok.experimental.UtilityClass;

/**
* @author x9x
* @since 2024-12-27 16:31
*/
@UtilityClass
public class DigestUtils extends org.apache.commons.codec.digest.DigestUtils {
}

0 comments on commit b36e325

Please sign in to comment.