Skip to content

borayil/mvector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

header-only, minimalistic vector implementation to lock heap allocated memory in RAM and also zero out the sensitive data where needed.

#include "mvector.hpp"
mvector<double> high_secret_doubles;

Calls the POSIX standard mlock to prevent the vector internal memory from being swapped out from RAM

Instead of std::fill_n, explicit_memset could be used.

About

RAM locked and memory zeroed generic vector container implementation (attempt)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages