mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -259,7 +259,7 @@ public class Digester {
|
||||
* @return 摘要bytes
|
||||
*/
|
||||
public byte[] digest(byte[] data) {
|
||||
byte[] result = null;
|
||||
byte[] result;
|
||||
if (this.saltPosition <= 0) {
|
||||
// 加盐在开头,自动忽略空盐值
|
||||
result = doDigest(this.salt, data);
|
||||
|
@@ -67,7 +67,7 @@ public class BCHMacEngine implements MacEngine {
|
||||
}
|
||||
final byte[] buffer = new byte[bufferLength];
|
||||
|
||||
byte[] result = null;
|
||||
byte[] result;
|
||||
try {
|
||||
int read = data.read(buffer, 0, bufferLength);
|
||||
|
||||
|
Reference in New Issue
Block a user