# memsec
[](https://travis-ci.org/quininer/memsec)
[](https://ci.appveyor.com/project/quininer/memsec)
[](https://crates.io/crates/memsec)
[](https://github.com/quininer/memsec/blob/master/LICENSE)
[](https://docs.rs/memsec/)
Rust implementation `libsodium/utils`.
* [x] `memeq`/`memcmp`
* [x] `memset`/`memzero`
* [x] `mlock`/`munlock`
* [x] `alloc`/`free`/`mprotect`
ref
---
* [Securing memory allocations](https://download.libsodium.org/doc/helpers/memory_management.html)
* [rlibc](https://github.com/alexcrichton/rlibc)
* [aligned_alloc.rs](https://github.com/jonas-schievink/aligned_alloc.rs)
* [cst_time_memcmp](https://github.com/chmike/cst_time_memcmp)