Skip to content

dr-bonez/zeroize-alloc-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

zeroize_alloc

This crate zeros all memory before freeing it, so if you keep secrets on the heap, you can be sure they no longer exist once they are freed.

Usage

#[global_allocator]
static ALLOC: zeroize_alloc::ZeroizingAlloc<YourAllocator> = ZeroizingAlloc(YourAllocator);

If you want to use the default allocator, use std::alloc::System.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages