fix comment and test

This commit is contained in:
Looly
2021-06-20 00:18:02 +08:00
parent 59275491de
commit 081a51ff83
4 changed files with 12 additions and 7 deletions

View File

@@ -143,8 +143,9 @@ public class HMac implements Serializable {
/**
* 生成文件摘要并转为Base64
*
* @param data 被摘要数据
* @param charset 编码
* @param data 被摘要数据
* @param charset 编码
* @param isUrlSafe 是否使用URL安全字符
* @return 摘要
*/
public String digestBase64(String data, Charset charset, boolean isUrlSafe) {