Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: Doubt in Security basics |
|---|---|
| Date: | Tue, 15 Feb 2005 11:26:55 -0500 |
Babu, Strings in Java are immutable, meaning you cant change them. You can only modify copies of the original. Because of this, if a password was read into a String, you couldn't write over it to erase its contents from memory. It would be at the mercy of the garbage collector. With a char [], you can overwrite the elements of the array and be reasonably safe that the password is gone from memory. Kevin On Tue, 15 Feb 2005 07:28:08 -0800 (PST), Babu Kopparam <babukopparam@gmail.com> wrote:
Hi! List, Probably i feel this doubt is related with basic knowledge. Whenever capturing the password, char[] is used instead of String object. What purpose does this solve. --- I am referring to JAVA. Thanks in advance, -Babu.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Doubt in Security basics, Babu Kopparam |
|---|---|
| Next by Date: | Re: Doubt in Security basics, Randy |
| Previous by Thread: | Doubt in Security basics, Babu Kopparam |
| Next by Thread: | Re: Doubt in Security basics, Randy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |