summaryrefslogtreecommitdiffstats
path: root/libcommuni/src/3rdparty/qblowfish/README.md
diff options
context:
space:
mode:
authorMarkus Mittendrein <git@maxmitti.tk>2015-09-09 19:00:56 +0200
committerMarkus Mittendrein <git@maxmitti.tk>2015-09-09 19:02:23 +0200
commit8a6d4b06f2291c363f3dea17837ed20893852453 (patch)
treec091375499e35eaa1810586454e0834c06e6c9b2 /libcommuni/src/3rdparty/qblowfish/README.md
parentf554a27046f203e56a07baaf214d90834942e3f5 (diff)
downloadmanager-8a6d4b06f2291c363f3dea17837ed20893852453.tar.gz
manager-8a6d4b06f2291c363f3dea17837ed20893852453.zip
Cleanup repo with some directories
Diffstat (limited to 'libcommuni/src/3rdparty/qblowfish/README.md')
-rw-r--r--libcommuni/src/3rdparty/qblowfish/README.md28
1 files changed, 0 insertions, 28 deletions
diff --git a/libcommuni/src/3rdparty/qblowfish/README.md b/libcommuni/src/3rdparty/qblowfish/README.md
deleted file mode 100644
index fb961bb..0000000
--- a/libcommuni/src/3rdparty/qblowfish/README.md
+++ /dev/null
@@ -1,28 +0,0 @@
-# QBlowfish
-
-QBlowfish is a [Qt](http://qt.nokia.com/) implementation of the [Blowfish](http://www.schneier.com/blowfish.html) encryption algorithm, as described in the original Blowfish [paper](http://www.schneier.com/paper-blowfish-fse.html) by Bruce Schneier.
-
-The Blowfish algorithm requires the input in 8-byte blocks. To simplify usage, QBlowfish can optionally add [PKCS5 padding](http://tools.ietf.org/html/rfc5652#section-6.3) to the input data. (For example, if the input is only 60 bytes long, 4 bytes will be padded to bring the bytecount to a multiple of 8.) When padding is enabled during decryption, QBlowfish will also remove the padded bytes from the output.
-
-You only need to add 3 files (src/*) to your project. You can then use the QBlowfish class to encrypt and decrypt stuff.
-
- QByteArray secretKey("This is a secret")
- QString clearText("Stuff to encrypt");
-
- QBlowfish bf(secretKey);
- bf.setPaddingEnabled(true);
- QByteArray encryptedBa = bf.encrypted(clearText.toUtf8());
-
-A more detailed example is included in the repo.
-
-QBlowfish is not optimized for speed. It processes the data in bytes (most other Blowfish implementations seem to work on 4-byte words) and is endianness-agnostic.
-
-### Tests
-
-Unit tests are written using QTestLib. Tests include [the official test vectors](http://www.schneier.com/code/vectors.txt).
-
-QBlowfish has been tested with Qt 4.8 on Windows and Linux.
-
-### License
-
-QBlowfish is published under the MIT license.