diff options
Diffstat (limited to 'konversation/src/blowfish/blowfish.h')
-rw-r--r-- | konversation/src/blowfish/blowfish.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/konversation/src/blowfish/blowfish.h b/konversation/src/blowfish/blowfish.h new file mode 100644 index 0000000..0c37317 --- /dev/null +++ b/konversation/src/blowfish/blowfish.h @@ -0,0 +1,30 @@ +/* + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. +*/ + +/* + Copyright (C) 2005 İsmail Dönmez <ismail@kde.org> +*/ + +#ifndef BLOWFISH_H +#define BLOWFISH_H + + +class Server; + +class QString; +class QCString; + + +namespace Konversation +{ + + int findOccurrence(const QCString& input, const QCString& separator, int nth); + void decrypt(const QString& recipient, QCString& cipher, Server* server); + void decryptTopic(const QString& recipient, QCString& cipher, Server* server); + bool encrypt(const QString& key, QCString& cipher); +} +#endif |