GMlib 1.1.0: Add encryption to disk swapping


Another update to GMlib, the C++ library that compresses memory in RAM using clever paging! Version 1.1.0 focuses on security.

For those new to GhostMem: it's designed to dramatically reduce your application's RAM footprint through intelligent compression and paging. With optional on-disk swap support, your programs can run with minimal RAM requirements—GhostMem handles the heavy lifting of keeping data compressed and paging it efficiently.

🔍 Encryption: See What's Happening Under the Hood

It's not that complex. I added a stream encryption (ChaCha). This is perfect, because ew make use of pages, and we cannot encrypt the whole file to pick up memory from the swap file. The key will be stored in memory and vanish once the program quits. This encryption shall only make sure that the left swapping file cannot be unzipped, since it might contains sensitive data. This makes it perfect for IO Devices with low RAM.

Get Started

If you haven't tried GhostMem yet, check out the GitHub repository to get started. The new documentation will have you up and running in minutes!

For existing users, upgrading is straightforward—the new verbose logging feature is optional and won't affect your current configuration.

Happy coding, and here's to running more with less RAM! 🚀


Have feedback or questions about GhostMem? Feel free to open an issue on GitHub or reach out through the project's communication channels.