Is there anyway in Java to delete data (e.g., a variable value, object) and be sure it can’t be recovered from memory? Does assigning null to a variable in Java delete the value from memory? Any ideas? Answers applicable to other languages are also acceptable.
Is there anyway in Java to delete data (e.g., a variable value, object) and
Share
Due to the wonders virtual memory, it is nearly impossible to delete something from memory in a completely irretrievable manner. Your best bet is to zero out the value fields; however: