sodium_memzero

Zeroing memory.

After use, sensitive data should be overwritten, but memset() and hand-written code can be silently stripped out by an optimizing compiler or by the linker. The sodium_memzero() function tries to effectively zero len bytes starting at pnt, even if optimizations are being applied to the code.

  1. alias sodium_memzero = deimos.sodium.utils.sodium_memzero
    alias sodium_memzero = deimos.sodium.utils.sodium_memzero
  2. void sodium_memzero(ubyte[] a)

See Also

Meta