We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9affe1 commit cb4effaCopy full SHA for cb4effa
src/org/openlowcode/tools/enc/AESCommunicator.java
@@ -115,7 +115,7 @@ public String decryptandunzip(byte[] encryptedmessage) throws Exception {
115
public static void main(String args[]) {
116
try {
117
KeyGenerator keyGen = KeyGenerator.getInstance("AES");
118
- keyGen.init(256);
+ keyGen.init(128);
119
SecretKey secretKey = keyGen.generateKey();
120
AESCommunicator communicator = new AESCommunicator(secretKey);
121
for (int a = 0; a < 3; a++) {
0 commit comments