MAProper

What is MAProper

MAProper is an extension around std::alloc::System which ensures that the allocated memory is
always erased before it is deallocated by using one of
memset_s/SecureZeroMemory/explicit_bzero/explicit_memset.

Whats the purpose of MAProper

MAProper becomes handy if you're dealing with a lot of sensitive data: because the memory
management of dynamically allocating types like Vec or String is opaque, you basically have no
real chance to reliably trace and erase their sensitive contents.

However they all use the global allocator – so all ways lead to Rome (or in this case to the global
allocator's alloc and dealloc functions) – which is where MAProper is sitting and waiting to
take care of the discarded memory.