mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
add comment and test
This commit is contained in:
@@ -204,7 +204,7 @@ public class SymmetricCrypto implements Serializable {
|
||||
} else {
|
||||
cipher.init(Cipher.ENCRYPT_MODE, secretKey, params);
|
||||
}
|
||||
return cipher.doFinal(paddingDataWithZero(data, cipher.getBlockSize()));
|
||||
return cipher.doFinal(paddingDataWithZero(data, cipher.getBlockSize()));
|
||||
} catch (Exception e) {
|
||||
throw new CryptoException(e);
|
||||
} finally {
|
||||
|
Reference in New Issue
Block a user