HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...
Bug #304416
openEncrypted message becomes much longer than the original decrypted message, Encrypt.java
0%
Description
The encrypted message was done recursively, which means that the program encrypted the last encrypted message until it reached a certain hardcoded amount. Problem was that the encrypted message became longer and longer as the string holding it kept adding and assigning the different encrypted messages, so it became abnormally long. The problem was resolved by resetting the string that got encrypted every time in the loop that executed the program and put a global string variable outside the method, that would reassign the new value every time the loop terminated.
Updated by Dennis Johnson over 10 years ago
- Subject changed from Encrypted message becomes much longer than the original decrypted message to Encrypted message becomes much longer than the original decrypted message, Encrypt.java