Timeline for Why is char[] preferred over String for passwords?
Current License: CC BY-SA 4.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 12, 2024 at 8:42 | comment | added | Mateusz Stefek | If you define your password as a constant in the source code, it’s a pointless example, because this class data stays in the constant pool. Strings created the other way are not stored in any „pool”. | |
| Jan 4, 2024 at 13:18 | history | edited | rozerro | CC BY-SA 4.0 |
edited body
|
| Apr 24, 2020 at 12:23 | history | answered | Aditya Rewari | CC BY-SA 4.0 |