35 releases

0.7.0 Jun 6, 2024
0.6.3 Mar 1, 2023
0.6.2 Apr 27, 2022
0.6.0 Jul 29, 2020
0.1.8 Jul 31, 2016

#43 in Memory management

Download history 6431/week @ 2024-07-24 6424/week @ 2024-07-31 6310/week @ 2024-08-07 7235/week @ 2024-08-14 7141/week @ 2024-08-21 7208/week @ 2024-08-28 7059/week @ 2024-09-04 7231/week @ 2024-09-11 7820/week @ 2024-09-18 7541/week @ 2024-09-25 6656/week @ 2024-10-02 8300/week @ 2024-10-09 8668/week @ 2024-10-16 10121/week @ 2024-10-23 9054/week @ 2024-10-30 7685/week @ 2024-11-06

37,068 downloads per month
Used in 127 crates (9 directly)

MIT license

19KB
347 lines

memsec

travis-ci appveyor crates license docs.rs

Rust implementation libsodium/utils.

  • memeq/memcmp
  • memset/memzero
  • mlock/munlock
  • alloc/free/mprotect
  • Linux only: alloc_memfd_secret/free_memfd_secret functions similar to alloc/free implementation backed by memfd_secret

ref

Dependencies

~0–12MB
~73K SLoC