0

How to secure string value in memory from capture by reverse engineering, such as a password or sensitive data.

1 Answers1

0

If you use a string (or any other value) in Dart, there is no way to guarantee its erasure from memory.

Dart is a garbage-collected language, and decides on its own when to dispose of data. The language specification does not describe any way to ensure that sensitive data is cleared from memory.

hacker1024
  • 3,186
  • 1
  • 11
  • 31