#include <QtCrypto>
Public Member Functions | |
bool | isWeakDESKey () |
SymmetricKey (const QByteArray &a) | |
SymmetricKey (const SecureArray &a) | |
SymmetricKey (int size) | |
SymmetricKey () |
QCA::SymmetricKey::SymmetricKey | ( | ) |
Construct an empty (zero length) key.
QCA::SymmetricKey::SymmetricKey | ( | int | size | ) |
Construct an key of specified size, with random contents.
This is intended to be used as a random session key.
size | the number of bytes for the key |
QCA::SymmetricKey::SymmetricKey | ( | const SecureArray & | a | ) |
Construct a key from a provided byte array.
a | the byte array to copy |
QCA::SymmetricKey::SymmetricKey | ( | const QByteArray & | a | ) |
Construct a key from a provided byte array.
a | the byte array to copy |
bool QCA::SymmetricKey::isWeakDESKey | ( | ) |
Test for weak DES keys.