I'm planning on a project involving encryption and I'm wondering how to go about safely doing this in my code.
What's bothering me is that my passphrase is at one point going to be stored as plain text in memory (since I read it in to a variable). Does'nt that mean that everyone with high enough priviledges will be able to see my passphrase in plain text (if they find it) by examining the memory of the perl process?
I suppose this is pretty much a problem with any programming language, but what I'm after is hints about how to minimize this risk in my perl code.