![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
AES-256-CBC encryption helper for basemap connection passwords. More...
#include <QByteArray>#include <QString>Go to the source code of this file.
Classes | |
| class | BasemapCrypto |
| Static helper for AES-256-CBC encrypt/decrypt of short strings. More... | |
AES-256-CBC encryption helper for basemap connection passwords.
Provides a simple encrypt/decrypt API backed by OpenSSL EVP_* (available via Qt6's Network dependency which already links OpenSSL).
Key derivation: PBKDF2-SHA256, 100,000 iterations. Per-machine passphrase: QCryptographicHash::hash( QSysInfo::machineUniqueId() + "OpenSWMM-BasemapStore-v1", SHA256 ).toHex()
Cipher output format (all stored Base64): [ 16-byte salt | 16-byte IV | ciphertext ]