Ensuring Secure Data Remains in Memory

2019-08-30 14:59发布

On a Linux system, how would you structure a program (C/C++/Python/Java etc) to ensure that a piece of data remains in volatile memory and is never cached to disk or swap?

I'm specifically concerned with security applications where you want to ensure a manually entered password or cryptography key is forgotten and unrecoverable the moment the system loses power, but otherwise remains accessible.

1条回答
我欲成王,谁敢阻挡
2楼-- · 2019-08-30 15:27
登录 后发表回答