28 #ifndef dooble_pbkdf2_h 29 #define dooble_pbkdf2_h 31 #include <QAtomicInteger> 35 typedef QByteArray dooble_hmac_function(
const QByteArray &key,
36 const QByteArray &message);
44 const QByteArray &salt,
45 int block_cipher_type_index,
50 QByteArray salt(
void)
const;
51 QList<QByteArray> pbkdf2(dooble_hmac_function *hmac_function)
const;
52 static void test1(
void);
55 QAtomicInteger<short> m_interrupt;
56 QByteArray m_password;
58 int m_block_cipher_type_index;
59 int m_hash_type_index;
60 int m_iteration_count;
62 QByteArray x_or(
const QByteArray &a,
const QByteArray &b)
const;
65 void slot_interrupt(
void);
Definition: dooble_pbkdf2.h:38