Are passwords stored in memory safe?
If you can't trust the OS you're screwed regardless. If you are concerned about physical access based attacks (like cold boot) then there are alternatives.<p>Here's some interesting reading: <a href="http://en.wikipedia.org/wiki/TRESOR" rel="nofollow">http://en.wikipedia.org/wiki/TRESOR</a>