支持AES256配置

This commit is contained in:
heavyrian2012
2023-04-24 11:51:13 +08:00
parent 758c5de2c7
commit 145709fd76
6 changed files with 50 additions and 30 deletions
@@ -3492,7 +3492,7 @@ public class MemoryMessagesStore implements IMessagesStore {
}
private String ensureSecretLength(String secret) {
while ( secret.length() < 16) {
while ( secret.length() < AES.keyLen) {
secret += "w";
secret += secret;
}