Hacker News new | ask | show | jobs
by insanitybit 1321 days ago
One reason I'd like to write passwords directly to a heap allocated buffer would be so that I can limit where that password exists in memory, ensure it's zero'd appropriately, prevent it being paged to disk, etc.