Skip to content
Projets

À propos

Classe native de chiffrement AES pour Qt

Sécurité et confidentialité

Comment ces chiffres sont mesurés

What you can do

  • All AES key sizes — 128, 192, 256 bit
  • Five cipher modes — ECB, CBC, CFB, OFB, CTR
  • Four padding schemes — ISO (default), PKCS7, ZERO, NONE (stream modes)
  • PBKDF2-HMAC key derivation (RFC 2898) — no QtNetwork required

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

Qt-AES

Small and portable AES encryption library for Qt

CI CI (AES-NI) CI (Sanitizers) CI (Fuzzing) CI (OpenSSL Cross-check) License: Unlicense

AES-128 · AES-192 · AES-256  |  ECB · CBC · CFB · OFB · CTR  |  PBKDF2 key derivation  |  AES-NI support


Features

  • All AES key sizes — 128, 192, 256 bit
  • Five cipher modes — ECB, CBC, CFB, OFB, CTR
  • Four padding schemes — ISO (default), PKCS7, ZERO, NONE (stream modes)
  • PBKDF2-HMAC key derivation (RFC 2898) — no QtNetwork required
  • Optional hardware acceleration via AES-NI (all modes)
  • Qt 5 and Qt 6 compatible
  • Single dependency: QtCore

Quick Start

Add to your CMakeLists.txt:

find_package(QtAES REQUIRED)
target_link_libraries(your_target PRIVATE QtAES::QtAES)
#include <QAESEncryption>

QAESEncryption enc(QAESEncryption::AES_256, QAESEncryption::CBC, QAESEncryption::PKCS7);
QByteArray cipher = enc.encode(plainText, key, iv);
QByteArray plain  = enc.removePadding(enc.decode(cipher, key, iv));

Documentation

Topic
Installation & CMake options docs/getting-started.md
API Reference docs/api-reference.md
Usage Examples & Best Practices docs/examples.md
AES-NI Acceleration docs/aesni.md
Testing & Fuzzing docs/testing.md

Disclaimer

This code is not audited or AES-certified by any competent authority. Use it at your own risk.


License

Released under the Unlicense — public domain, no restrictions.


Questions or suggestions? Open an issue on GitHub.

Explorer des projets similaires

Chargement…