summaryrefslogtreecommitdiffstats
path: root/konversation/src/blowfish/blowfish.h
blob: e8e84c6ca86276efbdaa468c9468ed806e57621b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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 TQString;
class TQCString;


namespace Konversation
{

    int findOccurrence(const TQCString& input, const TQCString& separator, int nth);
    void decrypt(const TQString& recipient, TQCString& cipher, Server* server);
    void decryptTopic(const TQString& recipient, TQCString& cipher, Server* server);
    bool encrypt(const TQString& key, TQCString& cipher);
}
#endif