Project

Profile

Help

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

open

Encrypted message becomes much longer than the original decrypted message, Encrypt.java

Added by Dennis Johnson over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
-
Start date:
Due date:
% Done:

0%

Estimated time:

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.

Actions #1

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

Also available in: Atom PDF