From 332a2900d5d627ba73ad178c3b0b76c911e9de70 Mon Sep 17 00:00:00 2001 From: Gab <24553253+gabrix73@users.noreply.github.com> Date: Thu, 13 Feb 2025 17:37:49 +0100 Subject: Update README.md --- README.md | 28 +++++----------------------- 1 file changed, 5 insertions(+), 23 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 9a2b9d1..bde7822 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,6 @@ - - - Nofuture.go - Post-Quantum Cryptographic Core Documentation - - -

Nofuture.go - Post-Quantum Cryptographic System

-
+

MemGuard Initialization & Configuration

memguard.CatchInterrupt()
 memguard.Purge()
@@ -18,9 +10,8 @@ unix.Mlockall(unix.MCL_CURRENT | unix.MCL_FUTURE)
  • Interrupt Handling: Automatic memory purge on SIGINT/SIGTERM
  • Deep Memory Purge: Secure wiping of allocated buffers
  • -
    -
    +

    MemGuard in Key Lifecycle Management

    passphrase, _ := memguard.NewImmutableRandom(32)
     defer passphrase.Destroy()
    @@ -29,9 +20,7 @@ defer passphrase.Destroy()
  • Ephemeral Storage: Keys exist only in protected memory
  • Automatic Destruction: Guaranteed wipe with defer
  • -
    -

    Enclave-Based Cryptography

    func deriveEnclaveKey(passphrase *memguard.Enclave) {
         passBuf, _ := passphrase.Open()
    @@ -42,9 +31,8 @@ defer passphrase.Destroy()
  • Controlled Exposure: Temporary buffer access patterns
  • Zero-Copy Architecture: Minimize memory exposure
  • -
    -
    +

    Quantum-Safe Key Exchange

    pubKey, secKey, _ := quantumKEMKeyPair()
     defer pubKey.Destroy()
    @@ -58,9 +46,7 @@ defer secKey.Destroy()
  • Zeroization on Completion: Guaranteed key destruction
  • -
    -

    Secure Session Management

    type QuantumSession struct {
         sessionKey   *memguard.Enclave
    @@ -71,9 +57,8 @@ defer secKey.Destroy()
  • Forward Secrecy: Ephemeral session keys
  • Compartmentalization: Isolated memory regions per session
  • -
    -
    +

    Memory-Hardened Cryptography

    lockedKey, _ := memguard.NewImmutableFromBytes(key)
     defer lockedKey.Destroy()
    @@ -92,9 +77,7 @@ defer lockedKey.Destroy() -
    -

    MemGuard Best Practices

    -
    - + -- cgit v1.2.3