X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fcipher.h;fp=src%2Fcommon%2Fcipher.h;h=b5cf0e0f345c64fcbb5ee3b8500712b2dc9b68a9;hp=bbf510440cadef27284487bc41386557a9b89446;hb=e1801627e8e13e7eacbf0c59622a6adf20fcd4cd;hpb=82a12eca7978598dafc059df6a2156e8899ef942 diff --git a/src/common/cipher.h b/src/common/cipher.h index bbf51044..b5cf0e0f 100644 --- a/src/common/cipher.h +++ b/src/common/cipher.h @@ -1,22 +1,10 @@ -/*************************************************************************** - * Copyright (C) 2005-09 by the Quassel Project * - * devel@quassel-irc.org * - * * - * 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) version 3. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - ***************************************************************************/ +/* + This file has been derived from Konversation, the KDE IRC client. + 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) 1997 Robey Pointer Copyright (C) 2005 Ismail Donmez @@ -45,7 +33,7 @@ class Cipher QByteArray key() { return m_key; } bool setType(const QString &type); QString type() { return m_type; } - + private: //direction is true for encrypt, false for decrypt QByteArray blowfishCBC(QByteArray cipherText, bool direction); @@ -60,4 +48,4 @@ class Cipher QString m_type; bool m_cbc; }; -#endif // CIPHER_H \ No newline at end of file +#endif // CIPHER_H