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

#52 in Memory management

Download history 6317/week @ 2024-09-30 7970/week @ 2024-10-07 8427/week @ 2024-10-14 9442/week @ 2024-10-21 9737/week @ 2024-10-28 8240/week @ 2024-11-04 8531/week @ 2024-11-11 9466/week @ 2024-11-18 7005/week @ 2024-11-25 7096/week @ 2024-12-02 8676/week @ 2024-12-09 7918/week @ 2024-12-16 3824/week @ 2024-12-23 4255/week @ 2024-12-30 7301/week @ 2025-01-06 8411/week @ 2025-01-13

24,345 downloads per month
Used in 129 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