Felix Geyer
38e421d9c1
Fix padding handling in SymmetricCipherStream.
...
The implementation had two issues:
- It didn't add a block full of padding when the input size was a multiple
of the block size.
- It didn't strip the padding when reading data.
2012-05-08 21:46:01 +02:00
Felix Geyer
2e011d5362
Improve code style.
2012-04-18 22:08:22 +02:00
Felix Geyer
a61057d7f6
Core tests instantiate QCoreApplication instead of QApplication.
...
This way they can be used without a running X server.
2012-01-01 22:04:27 +01:00
Felix Geyer
230d24a123
No longer use automoc.
2010-11-21 23:06:30 +01:00
Felix Geyer
a428464573
Add Salsa20 cipher.
...
Restructure SymmetricCipher implementation to allow multiple backends.
2010-11-21 16:19:27 +01:00
Felix Geyer
b639c43b24
Remove unneeded toHex() calls.
2010-09-19 20:13:23 +02:00
Felix Geyer
36d974649e
Write the remaining buffer in reset().
2010-09-18 17:13:28 +02:00
Felix Geyer
c2bdfab158
Implement writing to the SymmetricCipherStream.
2010-09-16 18:20:46 +02:00
Felix Geyer
d508c2dd68
Open a kdbx file in main() and add more SymmetricCipher tests.
2010-09-13 23:25:48 +02:00
Felix Geyer
6a2034fa24
Add crypto classes and tests. Link to libgcrypt.
2010-09-11 19:49:30 +02:00