Skip to content

Commit 36c4970

Browse files
author
Weasley
committed
- add default member json for Entity class
1 parent 3b1de7d commit 36c4970

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mybatis-encrypt-spring-boot-starter/src/main/java/io/github/weasleyj/mybatis/encrypt/core/DefaultAesEncryptStrategyImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public String encrypt(Object plaintext) {
6161
}
6262
return encoded;
6363
} catch (Exception e) {
64-
throw new MybatisEncryptException("AEC encrypt exception:", e);
64+
throw new MybatisEncryptException("AES encrypt exception:", e);
6565
}
6666
}
6767

@@ -81,7 +81,7 @@ public String decrypt(Object ciphertext) {
8181
}
8282
return decrypted;
8383
} catch (Exception e) {
84-
throw new MybatisEncryptException("AEC decrypt exception:", e);
84+
throw new MybatisEncryptException("AES decrypt exception:", e);
8585
}
8686
}
8787
}

0 commit comments

Comments
 (0)