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,
49 QByteArray salt(
void)
const;
50 QList<QByteArray> pbkdf2(dooble_hmac_function *hmac_function)
const;
51 static void test1(
void);
54 QAtomicInteger<short> m_interrupt;
55 QByteArray m_password;
57 int m_block_cipher_type_index;
58 int m_iteration_count;
60 QByteArray x_or(
const QByteArray &a,
const QByteArray &b)
const;
63 void slot_interrupt(
void);
Definition: dooble_pbkdf2.h:38