From b945498e529cb80fe4bdb3548c4ccf3145bbdd29 Mon Sep 17 00:00:00 2001 From: Gab <24553253+gabrix73@users.noreply.github.com> Date: Thu, 13 Feb 2025 17:40:13 +0100 Subject: Update README.md --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index bde7822..8e5ebc5 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -

Nofuture.go - Post-Quantum Cryptographic System

+ Nofuture.go - Post-Quantum Cryptographic System -

MemGuard Initialization & Configuration

+ MemGuard Initialization & Configuration
memguard.CatchInterrupt()
 memguard.Purge()
 unix.Mlockall(unix.MCL_CURRENT | unix.MCL_FUTURE)
@@ -12,7 +12,7 @@ unix.Mlockall(unix.MCL_CURRENT | unix.MCL_FUTURE) -

MemGuard in Key Lifecycle Management

+ MemGuard in Key Lifecycle Management
passphrase, _ := memguard.NewImmutableRandom(32)
 defer passphrase.Destroy()
-

Enclave-Based Cryptography

+ Enclave-Based Cryptography
func deriveEnclaveKey(passphrase *memguard.Enclave) {
     passBuf, _ := passphrase.Open()
     defer passBuf.Destroy()
@@ -33,7 +33,7 @@ defer passphrase.Destroy()
-

Quantum-Safe Key Exchange

+ Quantum-Safe Key Exchange
pubKey, secKey, _ := quantumKEMKeyPair()
 defer pubKey.Destroy()
 defer secKey.Destroy()
@@ -47,7 +47,7 @@ defer secKey.Destroy()
  • Zeroization on Completion: Guaranteed key destruction
  • -

    Secure Session Management

    + Secure Session Management
    type QuantumSession struct {
         sessionKey   *memguard.Enclave
         remotePubKey *memguard.Enclave
    @@ -59,7 +59,7 @@ defer secKey.Destroy()
    -

    Memory-Hardened Cryptography

    + Memory-Hardened Cryptography
    lockedKey, _ := memguard.NewImmutableFromBytes(key)
     defer lockedKey.Destroy()
    -

    MemGuard Best Practices

    + MemGuard Best Practices