diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -2,14 +2,16 @@ <strong>MemGuard Initialization & Configuration:</strong><br> - <pre><code>memguard.CatchInterrupt() + <pre><code> + memguard.CatchInterrupt() memguard.Purge() -unix.Mlockall(unix.MCL_CURRENT | unix.MCL_FUTURE)</code></pre> +unix.Mlockall(unix.MCL_CURRENT | unix.MCL_FUTURE) +</code></pre> <ul> <li><strong>Secure Memory Locking:</strong> Prevents swapping sensitive data to disk</li> <li><strong>Interrupt Handling:</strong> Automatic memory purge on SIGINT/SIGTERM</li> <li><strong>Deep Memory Purge:</strong> Secure wiping of allocated buffers</li> - </ul></code></pre> + </ul> <strong>MemGuard in Key Lifecycle Management:</strong><br> <pre><code>passphrase, _ := memguard.NewImmutableRandom(32) |
