Skip to main content

Military Grade Hardened Encryption Library - AES-256-GCM + Argon2id + SecureMemory - Professional Secure Hashing & Encryption Library - AES-256-GCM Backend

Project description

⚡ Flash512-Vanguard Bastion v2.1

🔐 Military Grade Hardened Encryption

PyPI version License Python 3.8+ Tests Security

Next-Gen Secure Encryption Library for Python
Standard industriel AES-256-GCM + Argon2id/PBKDF2 durci + Gestion de clés professionnelle
Engineered for extreme privacy, designed for the international cybersecurity community.


🛡️ Why Flash512-Vanguard?

Standard encryption can be vulnerable if implemented incorrectly. Flash512-Vanguard provides a secure-by-default abstraction layer that combines:

Layer Implementation Standard
Primary KDF Argon2id (memory-hard, GPU/ASIC resistant) OWASP ASVS V2.4
Fallback KDF PBKDF2-HMAC-SHA512 with 100,000 iterations OWASP recommended
Authenticated Encryption AES-256-GCM (128-bit tag) NIST FIPS 197
Secure Nonce Cryptographically random per operation NIST SP 800-38D
Memory Protection SecureBuffer with automatic wiping Military-grade hygiene
Secret Management Environment-based + Key Manager SOC2 compliant

🔒 v2.1 Military Grade: Introduction d'Argon2id par défaut, SecureBuffer pour l'effacement mémoire automatique, et vérification d'intégrité du module au chargement (anti-tampering).


🚀 Key Features

  • Polymorphic Output: Same message encrypted twice = different tokens (random nonce)
  • Full Integrity: GCM authentication tag detects any tampering
  • Key Rotation: Built-in rotate_secret() for password changes
  • Audit Logging: Enterprise-ready audit trail (SOC2/HIPAA compatible)
  • Memory Wiping: SecureBuffer efface automatiquement les données sensibles après usage
  • Anti-Brute Force: Argon2id memory-hard KDF résiste aux GPU/ASIC
  • Module Integrity: Vérification HMAC-SHA512 au chargement contre les modifications non autorisées
  • Simple API: Méthodes protect() / open(), zero crypto expertise needed

📢 Official Release: Flash512-Vanguard Bastion v2.1

erabytse is proud to announce the launch of Flash512-Vanguard Bastion v2.1.

This Military Grade release introduces critical security hardening:

  • 🔰 Argon2id : Dérivation de clé memory-hard pour résister aux attaques par force brute matérielles
  • 🧹 SecureBuffer : Effacement automatique et garanti des données déchiffrées en mémoire
  • 🛡️ Module Integrity : Vérification d'intégrité au chargement empêchant l'exécution de code modifié
  • 🔒 Core Dump Lock : Désactivation automatique des core dumps sur Linux

The underlying industry-standard AES-256-GCM ensures:

  • 🌍 Interoperability with other systems and languages
  • 🔐 Auditability by third-party security firms
  • Performance via hardware acceleration (AES-NI)
  • 📜 Compliance with NIST, FIPS, and enterprise security policies

The legacy v1.0 algorithm remains available via use_legacy=True for backward compatibility only.


🛡️ Vision

In an era of increasing cyber threats, we believe that encryption should be more than just a standard; it should be an evolving fortress. Flash512-Vanguard is our first step toward a suite of tools dedicated to Digital Sovereignty and Advanced Privacy.

Our commitment: Security through transparency, not obscurity. We use peer-reviewed standards so you can sleep at night.


💼 Commercial & Support

While the core engine is open-source under Apache 2.0, erabytse offers professional tiers for enterprise needs:

Tier Features Price
Core AES-GCM engine, Key Manager, audit logging, SecureBuffer Free (Apache 2.0)
Pro Support SLA 24h, priority patches, integration help 499€/month
Enterprise HSM/TPM support, SIEM integration, training Custom quote

Services:

  • 🔐 Custom Core Provisioning: Tailored solutions for enterprise-grade isolation
  • 🛡️ Security Consulting: Implementation audits for your infrastructure
  • 📚 Training: Team workshops on secure encryption practices

📧 Contact: contact@fbfconsulting.org


💻 Quick Start

🔧 Installation v2.1

pip install flash512-vanguard==2.1.0

🔑 Configuration

Before using the engine, you must provision your Internal Core Secret. This secret acts as the unique architectural soul of your encryption.

On Linux/Mac:

export FLASH512_VANGUARD_CORE="your-secure-random-secret-64-chars-min"

On Windows (PowerShell):

$env:FLASH512_VANGUARD_CORE="your-secure-random-secret-64-chars-min"

Or create a .env file at your project root:

FLASH512_VANGUARD_CORE=your-secure-random-secret-64-chars-min

⚠️ Security Note: Never commit .env to version control. Add it to .gitignore.

📖 Usage Basic Encryption (Zero Expertise Required)

from flash512 import Flash512Vanguard

# Encrypt
token = Flash512Vanguard.protect("Classified Data", "MyUltraStrongSecret")
print(f"Secure Token: {token}")

# Decrypt
original = Flash512Vanguard.open(token, "MyUltraStrongSecret")
print(f"Decrypted: {original}")

# Verify without decrypting
if Flash512Vanguard.verify(token, "MyUltraStrongSecret"):
    print("Token is valid ✓")

# Rotate user password
new_token = Flash512Vanguard.rotate_secret(token, "OldPassword", "NewPassword")

Military Grade Decryption with SecureBuffer (v2.1+)

from flash512 import Flash512Vanguard

token = Flash512Vanguard.protect("Message Top Secret", "MotDePasse")

# Use the “with” context for automatic memory deallocation
with Flash512Vanguard.open(token, "MotDePasse") as buffer:
    # Process sensitive data ONLY within this protected block
    traiter_donnees_sensibles(buffer.data)
# Here, the data has already been cleared from the random access memory (RAM)
# Any attempt to access it will raise a RuntimeError

🧪 Testing

# Install dev dependencies
pip install -e .[dev]

# Run all tests (500+ random cases)
pytest tests/ -v

# Run military-grade specific tests
pytest tests/test_military_grade.py -v

# Run property-based tests
pytest tests/test_property.py -v

📜 License & Commercial Use

This project is released under the Apache 2.0 License.

Use Case License Required
Open-source projects Apache 2.0 (free)
Commercial proprietary software Apache 2.0 (free, no disclosure required)
Enterprise support & SLA Commercial agreement
HSM/TPM integration Enterprise license

For commercial integration support or enterprise features, please contact the author:

📧 Email: contact@fbfconsulting.org

🌐 GitHub: https://github.com/erabytse/flash512-vanguard


🙏 Credits

  • Author: @erabytse

  • Architecture v2.0: Industry-standard AES-256-GCM backend

  • Inspired by: OWASP, NIST, cryptography.io

  • Built for: The international cybersecurity community


📞 Support & Security

Need Contact
Technical support support@fbfconsulting.org
Security vulnerability contact@fbfconsulting.org (do not open public issue)
Commercial inquiry contact@fbfconsulting.org

Security Policy: See SECURITY.md for vulnerability disclosure process.


Last updated: May 2026 | Version: 2.1.0

This project is released under the License apache 2.0. For commercial integration into proprietary software without disclosing your source code, please contact the author for a Commercial License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flash512_vanguard-2.1.0.post1.tar.gz (26.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flash512_vanguard-2.1.0.post1-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

Details for the file flash512_vanguard-2.1.0.post1.tar.gz.

File metadata

  • Download URL: flash512_vanguard-2.1.0.post1.tar.gz
  • Upload date:
  • Size: 26.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for flash512_vanguard-2.1.0.post1.tar.gz
Algorithm Hash digest
SHA256 b8dacb493bb68c4c2aa69cb21b48ed44550c5b99b101cad906065bb4225486d0
MD5 69f3bcbb1d34a44083bbf9e6d96873b3
BLAKE2b-256 c7761fc1747a5c2b83da8c46a0be62387c2a8908059364739c90010597be365d

See more details on using hashes here.

File details

Details for the file flash512_vanguard-2.1.0.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for flash512_vanguard-2.1.0.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 1cf3f7ed304c85a1b8afff049a17ed68d07a5a3f9044d0864713628535f7a843
MD5 edb5b990fd3e64923adabc3ceb5687d7
BLAKE2b-256 1f8443232ee1fd767f7d6723c2df5fd4b7965017fe1acd26aade8b1049bed583

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page